Skip to content

Commit 7bd17b3

Browse files
feat(all): auto-regenerate discovery clients (#1790)
1 parent 9fb35f5 commit 7bd17b3

28 files changed

+10746
-2937
lines changed

batch/v1/batch-api.json

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@
643643
}
644644
}
645645
},
646-
"revision": "20221201",
646+
"revision": "20221212",
647647
"rootUrl": "https://batch.googleapis.com/",
648648
"schemas": {
649649
"Accelerator": {
@@ -725,7 +725,7 @@
725725
"type": "object"
726726
},
727727
"AgentMetadata": {
728-
"description": "AgentMetadata never changes for a single instance of VM agent.",
728+
"description": "VM Agent Metadata.",
729729
"id": "AgentMetadata",
730730
"properties": {
731731
"creationTime": {
@@ -750,6 +750,10 @@
750750
"format": "uint64",
751751
"type": "string"
752752
},
753+
"instancePreemptionNoticeReceived": {
754+
"description": "If the GCP instance has received preemption notice.",
755+
"type": "boolean"
756+
},
753757
"osRelease": {
754758
"additionalProperties": {
755759
"type": "string"
@@ -1093,6 +1097,17 @@
10931097
"description": "An Environment describes a collection of environment variables to set when executing Tasks.",
10941098
"id": "Environment",
10951099
"properties": {
1100+
"encryptedVariables": {
1101+
"$ref": "KMSEnvMap",
1102+
"description": "An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values."
1103+
},
1104+
"secretVariables": {
1105+
"additionalProperties": {
1106+
"type": "string"
1107+
},
1108+
"description": "A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.",
1109+
"type": "object"
1110+
},
10961111
"variables": {
10971112
"additionalProperties": {
10981113
"type": "string"
@@ -1364,6 +1379,20 @@
13641379
},
13651380
"type": "object"
13661381
},
1382+
"KMSEnvMap": {
1383+
"id": "KMSEnvMap",
1384+
"properties": {
1385+
"cipherText": {
1386+
"description": "The value of the cipherText response from the `encrypt` method.",
1387+
"type": "string"
1388+
},
1389+
"keyName": {
1390+
"description": "The name of the KMS key that will be used to decrypt the cipher text.",
1391+
"type": "string"
1392+
}
1393+
},
1394+
"type": "object"
1395+
},
13671396
"LifecyclePolicy": {
13681397
"description": "LifecyclePolicy describes how to deal with task failures based on different conditions.",
13691398
"id": "LifecyclePolicy",
@@ -1791,6 +1820,11 @@
17911820
"description": "Response to ReportAgentStateRequest.",
17921821
"id": "ReportAgentStateResponse",
17931822
"properties": {
1823+
"defaultReportInterval": {
1824+
"description": "Default report interval override",
1825+
"format": "google-duration",
1826+
"type": "string"
1827+
},
17941828
"minReportInterval": {
17951829
"description": "Minimum report interval override",
17961830
"format": "google-duration",

batch/v1/batch-gen.go

Lines changed: 66 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clouddeploy/v1/clouddeploy-api.json

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@
13341334
}
13351335
}
13361336
},
1337-
"revision": "20221020",
1337+
"revision": "20221208",
13381338
"rootUrl": "https://clouddeploy.googleapis.com/",
13391339
"schemas": {
13401340
"AbandonReleaseRequest": {
@@ -1509,20 +1509,18 @@
15091509
"id": "Config",
15101510
"properties": {
15111511
"defaultSkaffoldVersion": {
1512-
"description": "Output only. Default Skaffold version that is assigned when a Release is created without specifying a Skaffold version.",
1513-
"readOnly": true,
1512+
"description": "Default Skaffold version that is assigned when a Release is created without specifying a Skaffold version.",
15141513
"type": "string"
15151514
},
15161515
"name": {
15171516
"description": "Name of the configuration.",
15181517
"type": "string"
15191518
},
15201519
"supportedVersions": {
1521-
"description": "Output only. All supported versions of Skaffold.",
1520+
"description": "All supported versions of Skaffold.",
15221521
"items": {
15231522
"$ref": "SkaffoldVersion"
15241523
},
1525-
"readOnly": true,
15261524
"type": "array"
15271525
}
15281526
},
@@ -2331,7 +2329,11 @@
23312329
},
23322330
"targetsPresentCondition": {
23332331
"$ref": "TargetsPresentCondition",
2334-
"description": "Detalis around targets enumerated in the pipeline."
2332+
"description": "Details around targets enumerated in the pipeline."
2333+
},
2334+
"targetsTypeCondition": {
2335+
"$ref": "TargetsTypeCondition",
2336+
"description": "Details on the whether the targets enumerated in the pipeline are of the same type."
23352337
}
23362338
},
23372339
"type": "object"
@@ -2832,7 +2834,7 @@
28322834
"properties": {
28332835
"supportEndDate": {
28342836
"$ref": "Date",
2835-
"description": "Date when this version is expected to no longer be supported."
2837+
"description": "Date when this version is expected to no longer be supported. For a more precise time, use the `support_expiration_time` field."
28362838
},
28372839
"version": {
28382840
"description": "Release version number. For example, \"1.20.3\".",
@@ -3095,7 +3097,7 @@
30953097
"id": "TargetsPresentCondition",
30963098
"properties": {
30973099
"missingTargets": {
3098-
"description": "The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.",
3100+
"description": "The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.",
30993101
"items": {
31003102
"type": "string"
31013103
},
@@ -3113,6 +3115,21 @@
31133115
},
31143116
"type": "object"
31153117
},
3118+
"TargetsTypeCondition": {
3119+
"description": "TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type.",
3120+
"id": "TargetsTypeCondition",
3121+
"properties": {
3122+
"errorDetails": {
3123+
"description": "Human readable error message.",
3124+
"type": "string"
3125+
},
3126+
"status": {
3127+
"description": "True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters.",
3128+
"type": "boolean"
3129+
}
3130+
},
3131+
"type": "object"
3132+
},
31163133
"TestIamPermissionsRequest": {
31173134
"description": "Request message for `TestIamPermissions` method.",
31183135
"id": "TestIamPermissionsRequest",

clouddeploy/v1/clouddeploy-gen.go

Lines changed: 46 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)