Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1991)
Browse files Browse the repository at this point in the history
Co-authored-by: Noah Dietz <noahdietz@users.noreply.github.com>
  • Loading branch information
yoshi-automation and noahdietz authored May 23, 2023
1 parent 8c0e6d9 commit 73f57fe
Show file tree
Hide file tree
Showing 37 changed files with 7,987 additions and 1,839 deletions.
30 changes: 30 additions & 0 deletions api-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,36 @@
"documentationLink": "https://cloud.google.com/assured-workloads/access-approval/docs",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "accesscontextmanager:v1beta",
"name": "accesscontextmanager",
"version": "v1beta",
"title": "Access Context Manager API",
"description": "An API for setting attribute based access control to requests to Google Cloud services.",
"discoveryRestUrl": "https://accesscontextmanager.googleapis.com/$discovery/rest?version=v1beta",
"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"
},
"documentationLink": "https://cloud.google.com/access-context-manager/docs/reference/rest/",
"preferred": false
},
{
"kind": "discovery#directoryItem",
"id": "accesscontextmanager:v1",
"name": "accesscontextmanager",
"version": "v1",
"title": "Access Context Manager API",
"description": "An API for setting attribute based access control to requests to Google Cloud services.",
"discoveryRestUrl": "https://accesscontextmanager.googleapis.com/$discovery/rest?version=v1",
"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"
},
"documentationLink": "https://cloud.google.com/access-context-manager/docs/reference/rest/",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "acmedns:v1",
Expand Down
4 changes: 2 additions & 2 deletions artifactregistry/v1/artifactregistry-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@
"type": "string"
},
"parent": {
"description": "The name of the parent resource whose tags will be listed.",
"description": "The name of the parent package whose tags will be listed. Example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1589,7 +1589,7 @@
}
}
},
"revision": "20230508",
"revision": "20230512",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
Expand Down
6 changes: 4 additions & 2 deletions artifactregistry/v1/artifactregistry-gen.go

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

4 changes: 2 additions & 2 deletions artifactregistry/v1beta1/artifactregistry-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@
"type": "string"
},
"parent": {
"description": "The name of the parent resource whose tags will be listed.",
"description": "The name of the parent package whose tags will be listed. Example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$",
"required": true,
Expand Down Expand Up @@ -929,7 +929,7 @@
}
}
},
"revision": "20230508",
"revision": "20230512",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"Binding": {
Expand Down
6 changes: 4 additions & 2 deletions artifactregistry/v1beta1/artifactregistry-gen.go

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

4 changes: 2 additions & 2 deletions artifactregistry/v1beta2/artifactregistry-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@
"type": "string"
},
"parent": {
"description": "The name of the parent resource whose tags will be listed.",
"description": "The name of the parent package whose tags will be listed. Example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1135,7 +1135,7 @@
}
}
},
"revision": "20230508",
"revision": "20230512",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
Expand Down
6 changes: 4 additions & 2 deletions artifactregistry/v1beta2/artifactregistry-gen.go

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

20 changes: 17 additions & 3 deletions batch/v1/batch-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@
}
}
},
"revision": "20230426",
"revision": "20230509",
"rootUrl": "https://batch.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -1854,7 +1854,7 @@
"type": "object"
},
"TaskGroup": {
"description": "A TaskGroup contains one or multiple Tasks that share the same Runnable but with different runtime parameters.",
"description": "A TaskGroup defines one or more Tasks that all share the same TaskSpec.",
"id": "TaskGroup",
"properties": {
"name": {
Expand All @@ -1875,6 +1875,20 @@
"description": "When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.",
"type": "boolean"
},
"schedulingPolicy": {
"description": "Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.",
"enum": [
"SCHEDULING_POLICY_UNSPECIFIED",
"AS_SOON_AS_POSSIBLE",
"IN_ORDER"
],
"enumDescriptions": [
"Unspecified.",
"Run Tasks as soon as resources are available. Tasks might be executed in parallel depending on parallelism and task_count values.",
"Run Tasks sequentially with increased task index."
],
"type": "string"
},
"taskCount": {
"description": "Number of Tasks in the TaskGroup. Default is 1.",
"format": "int64",
Expand All @@ -1886,7 +1900,7 @@
"type": "string"
},
"taskEnvironments": {
"description": "An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1). task_environments supports up to 200 entries.",
"description": "An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).",
"items": {
"$ref": "Environment"
},
Expand Down
18 changes: 14 additions & 4 deletions batch/v1/batch-gen.go

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

Loading

0 comments on commit 73f57fe

Please sign in to comment.