Skip to content

Commit 289b859

Browse files
feat(all): auto-regenerate discovery clients (#1957)
1 parent 409bc9d commit 289b859

File tree

52 files changed

+3316
-692
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+3316
-692
lines changed

batch/v1/batch-api.json

+28-1
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@
556556
}
557557
}
558558
},
559-
"revision": "20230329",
559+
"revision": "20230412",
560560
"rootUrl": "https://batch.googleapis.com/",
561561
"schemas": {
562562
"Accelerator": {
@@ -807,6 +807,10 @@
807807
"$ref": "NetworkPolicy",
808808
"description": "The network policy."
809809
},
810+
"placement": {
811+
"$ref": "PlacementPolicy",
812+
"description": "The placement policy."
813+
},
810814
"serviceAccount": {
811815
"$ref": "ServiceAccount",
812816
"description": "Service account that VMs will run as."
@@ -1610,6 +1614,22 @@
16101614
},
16111615
"type": "object"
16121616
},
1617+
"PlacementPolicy": {
1618+
"description": "PlacementPolicy describes a group placement policy for the VMs controlled by this AllocationPolicy.",
1619+
"id": "PlacementPolicy",
1620+
"properties": {
1621+
"collocation": {
1622+
"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.",
1623+
"type": "string"
1624+
},
1625+
"maxDistance": {
1626+
"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",
1627+
"format": "int64",
1628+
"type": "string"
1629+
}
1630+
},
1631+
"type": "object"
1632+
},
16131633
"ReportAgentStateRequest": {
16141634
"description": "Request to report agent's state. The Request itself implies the agent is healthy.",
16151635
"id": "ReportAgentStateRequest",
@@ -1681,6 +1701,13 @@
16811701
"description": "Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.",
16821702
"type": "boolean"
16831703
},
1704+
"labels": {
1705+
"additionalProperties": {
1706+
"type": "string"
1707+
},
1708+
"description": "Labels for this Runnable.",
1709+
"type": "object"
1710+
},
16841711
"script": {
16851712
"$ref": "Script",
16861713
"description": "Script runnable."

batch/v1/batch-gen.go

+45
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)