Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1957)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Apr 21, 2023
1 parent 409bc9d commit 289b859
Show file tree
Hide file tree
Showing 52 changed files with 3,316 additions and 692 deletions.
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.

0 comments on commit 289b859

Please sign in to comment.