Skip to content

Commit 9264e87

Browse files
fix: [tasks] fix typings for IAM methods (#4444)
* docs: minor formatting PiperOrigin-RevId: 550624166 Source-Link: googleapis/googleapis@ff73e5d Source-Link: googleapis/googleapis-gen@7254cdd Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXRhc2tzLy5Pd2xCb3QueWFtbCIsImgiOiI3MjU0Y2RkNTcxZWMzMGI3ODFiOGIwNzU1MGJkMDI4ZTI4NjkwNzgxIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix: fix typings for IAM methods docs: fixed links in the generated Markdown documentation PiperOrigin-RevId: 551610576 Source-Link: googleapis/googleapis@73b1313 Source-Link: googleapis/googleapis-gen@8bec066 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXRhc2tzLy5Pd2xCb3QueWFtbCIsImgiOiI4YmVjMDY2NDkyYTZkYTI4NTViMWI4Y2U1NjI2NjRjMGE2YjMwYjAxIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 38c45e1 commit 9264e87

10 files changed

Lines changed: 2961 additions & 521 deletions

packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta3/target.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ message HttpTarget {
193193
// `Content-Type` to a media type when the
194194
// [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
195195
// For example,`Content-Type` can be set to `"application/octet-stream"` or
196-
// `"application/json"`. The default value is set to "application/json"`.
196+
// `"application/json"`. The default value is set to `"application/json"`.
197197
//
198198
// * User-Agent: This will be set to `"Google-Cloud-Tasks"`.
199199
//

packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.test_iam_permissions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function main(resource, permissions) {
3939
* information see
4040
* IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).
4141
*/
42-
// const permissions = 'abc123'
42+
// const permissions = ['abc','def']
4343

4444
// Imports the Tasks library
4545
const {CloudTasksClient} = require('@google-cloud/tasks').v2;

packages/google-cloud-tasks/samples/generated/v2/snippet_metadata_google.cloud.tasks.v2.json

Lines changed: 719 additions & 0 deletions
Large diffs are not rendered by default.

packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.test_iam_permissions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function main(resource, permissions) {
3939
* information see
4040
* IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).
4141
*/
42-
// const permissions = 'abc123'
42+
// const permissions = ['abc','def']
4343

4444
// Imports the Tasks library
4545
const {CloudTasksClient} = require('@google-cloud/tasks').v2beta2;

packages/google-cloud-tasks/samples/generated/v2beta2/snippet_metadata_google.cloud.tasks.v2beta2.json

Lines changed: 1019 additions & 0 deletions
Large diffs are not rendered by default.

packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.test_iam_permissions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function main(resource, permissions) {
3939
* information see
4040
* IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).
4141
*/
42-
// const permissions = 'abc123'
42+
// const permissions = ['abc','def']
4343

4444
// Imports the Tasks library
4545
const {CloudTasksClient} = require('@google-cloud/tasks').v2beta3;

packages/google-cloud-tasks/samples/generated/v2beta3/snippet_metadata_google.cloud.tasks.v2beta3.json

Lines changed: 775 additions & 0 deletions
Large diffs are not rendered by default.

packages/google-cloud-tasks/src/v2/cloud_tasks_client.ts

Lines changed: 124 additions & 146 deletions
Large diffs are not rendered by default.

packages/google-cloud-tasks/src/v2beta2/cloud_tasks_client.ts

Lines changed: 193 additions & 221 deletions
Large diffs are not rendered by default.

packages/google-cloud-tasks/src/v2beta3/cloud_tasks_client.ts

Lines changed: 127 additions & 150 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)