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 #1957

Merged
merged 1 commit into from Apr 21, 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
29 changes: 28 additions & 1 deletion batch/v1/batch-api.json
Expand Up @@ -556,7 +556,7 @@
}
}
},
"revision": "20230329",
"revision": "20230412",
"rootUrl": "https://batch.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -807,6 +807,10 @@
"$ref": "NetworkPolicy",
"description": "The network policy."
},
"placement": {
"$ref": "PlacementPolicy",
"description": "The placement policy."
},
"serviceAccount": {
"$ref": "ServiceAccount",
"description": "Service account that VMs will run as."
Expand Down Expand Up @@ -1610,6 +1614,22 @@
},
"type": "object"
},
"PlacementPolicy": {
"description": "PlacementPolicy describes a group placement policy for the VMs controlled by this AllocationPolicy.",
"id": "PlacementPolicy",
"properties": {
"collocation": {
"description": "UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.",
"type": "string"
},
"maxDistance": {
"description": "When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"ReportAgentStateRequest": {
"description": "Request to report agent's state. The Request itself implies the agent is healthy.",
"id": "ReportAgentStateRequest",
Expand Down Expand Up @@ -1681,6 +1701,13 @@
"description": "Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels for this Runnable.",
"type": "object"
},
"script": {
"$ref": "Script",
"description": "Script runnable."
Expand Down
45 changes: 45 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.