Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #1991

Merged
merged 3 commits into from May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 30 additions & 0 deletions api-list.json
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
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
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
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
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.