Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2239)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Oct 28, 2023
1 parent 8d66391 commit cf09469
Show file tree
Hide file tree
Showing 30 changed files with 2,158 additions and 605 deletions.
6 changes: 5 additions & 1 deletion batch/v1/batch-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
}
}
},
"revision": "20231009",
"revision": "20231018",
"rootUrl": "https://batch.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -1835,6 +1835,10 @@
"$ref": "AgentTask"
},
"type": "array"
},
"useBatchMonitoredResource": {
"description": "If true, the cloud logging for batch agent will use batch.googleapis.com/Job as monitored resource for Batch job related logging.",
"type": "boolean"
}
},
"type": "object"
Expand Down
5 changes: 5 additions & 0 deletions batch/v1/batch-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions cloudtasks/v2/cloudtasks-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
]
},
"delete": {
"description": "Deletes a queue. This command will delete the queue even if it has tasks in it. Note: If you delete a queue, a queue with the same name can't be created for 7 days. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.",
"description": "Deletes a queue. This command will delete the queue even if it has tasks in it. Note: If you delete a queue, you may be prevented from creating a new queue with the same name as the deleted queue for a tombstone window of up to 3 days. During this window, the CreateQueue operation may appear to recreate the queue, but this can be misleading. If you attempt to create a queue with the same name as one that is in the tombstone window, run GetQueue to confirm that the queue creation was successful. If GetQueue returns 200 response code, your queue was successfully created with the name of the previously deleted queue. Otherwise, your queue did not successfully recreate. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}",
"httpMethod": "DELETE",
"id": "cloudtasks.projects.locations.queues.delete",
Expand Down Expand Up @@ -744,7 +744,7 @@
}
}
},
"revision": "20230929",
"revision": "20231018",
"rootUrl": "https://cloudtasks.googleapis.com/",
"schemas": {
"AppEngineHttpRequest": {
Expand Down Expand Up @@ -870,7 +870,7 @@
"type": "object"
},
"CmekConfig": {
"description": "CMEK, or Customer Managed Encryption Keys, enables GCP products to put control over encryption and key management in their customer’s hands.",
"description": "Describes the customer-managed encryption key (CMEK) configuration associated with a project and location.",
"id": "CmekConfig",
"properties": {
"kmsKey": {
Expand Down
24 changes: 15 additions & 9 deletions cloudtasks/v2/cloudtasks-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions cloudtasks/v2beta2/cloudtasks-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@
]
},
"buffer": {
"description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferTask Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).",
"description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.",
"flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{taskId}:buffer",
"httpMethod": "POST",
"id": "cloudtasks.projects.locations.queues.tasks.buffer",
Expand Down Expand Up @@ -935,7 +935,7 @@
}
}
},
"revision": "20230929",
"revision": "20231018",
"rootUrl": "https://cloudtasks.googleapis.com/",
"schemas": {
"AcknowledgeTaskRequest": {
Expand Down Expand Up @@ -1132,7 +1132,7 @@
"type": "object"
},
"CmekConfig": {
"description": "CMEK, or Customer Managed Encryption Keys, enables GCP products to put control over encryption and key management in their customer’s hands.",
"description": "Describes the customer-managed encryption key (CMEK) configuration associated with a project and location.",
"id": "CmekConfig",
"properties": {
"kmsKey": {
Expand Down
11 changes: 4 additions & 7 deletions cloudtasks/v2beta2/cloudtasks-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions cloudtasks/v2beta3/cloudtasks-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
]
},
"delete": {
"description": "Deletes a queue. This command will delete the queue even if it has tasks in it. Note: If you delete a queue, a queue with the same name can't be created for 7 days. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.",
"description": "Deletes a queue. This command will delete the queue even if it has tasks in it. Note : If you delete a queue, you may be prevented from creating a new queue with the same name as the deleted queue for a tombstone window of up to 3 days. During this window, the CreateQueue operation may appear to recreate the queue, but this can be misleading. If you attempt to create a queue with the same name as one that is in the tombstone window, run GetQueue to confirm that the queue creation was successful. If GetQueue returns 200 response code, your queue was successfully created with the name of the previously deleted queue. Otherwise, your queue did not successfully recreate. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.",
"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}",
"httpMethod": "DELETE",
"id": "cloudtasks.projects.locations.queues.delete",
Expand Down Expand Up @@ -576,7 +576,7 @@
"tasks": {
"methods": {
"buffer": {
"description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferTask Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).",
"description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.",
"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{taskId}:buffer",
"httpMethod": "POST",
"id": "cloudtasks.projects.locations.queues.tasks.buffer",
Expand Down Expand Up @@ -791,7 +791,7 @@
}
}
},
"revision": "20230929",
"revision": "20231018",
"rootUrl": "https://cloudtasks.googleapis.com/",
"schemas": {
"AppEngineHttpQueue": {
Expand Down Expand Up @@ -950,7 +950,7 @@
"type": "object"
},
"CmekConfig": {
"description": "CMEK, or Customer Managed Encryption Keys, enables GCP products to put control over encryption and key management in their customer’s hands.",
"description": "Describes the customer-managed encryption key (CMEK) configuration associated with a project and location.",
"id": "CmekConfig",
"properties": {
"kmsKey": {
Expand Down
Loading

0 comments on commit cf09469

Please sign in to comment.