Skip to content

Commit f4938c0

Browse files
feat: [google-cloud-deploy] Add custom target type support (#12081)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat: Add custom target type support feat: Add revision tagging for one of the Cloud Run deployment strategies docs: Fixed a number of comments. END_COMMIT_OVERRIDE PiperOrigin-RevId: 587671915 Source-Link: googleapis/googleapis@1523043 Source-Link: googleapis/googleapis-gen@d0ab47d Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRlcGxveS8uT3dsQm90LnlhbWwiLCJoIjoiZDBhYjQ3ZGU1ODc0MWRiYTdhMmE0MzAwZjEwYmQyYjg1M2YwYTZjZiJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent b39b6fd commit f4938c0

25 files changed

+12157
-4109
lines changed

packages/google-cloud-deploy/google/cloud/deploy/__init__.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,20 @@
5959
CreateAutomationRequest,
6060
CreateChildRolloutJob,
6161
CreateChildRolloutJobRun,
62+
CreateCustomTargetTypeRequest,
6263
CreateDeliveryPipelineRequest,
6364
CreateReleaseRequest,
6465
CreateRolloutRequest,
6566
CreateTargetRequest,
6667
CustomCanaryDeployment,
68+
CustomMetadata,
69+
CustomTarget,
70+
CustomTargetDeployMetadata,
71+
CustomTargetSkaffoldActions,
72+
CustomTargetType,
6773
DefaultPool,
6874
DeleteAutomationRequest,
75+
DeleteCustomTargetTypeRequest,
6976
DeleteDeliveryPipelineRequest,
7077
DeleteTargetRequest,
7178
DeliveryPipeline,
@@ -79,6 +86,7 @@
7986
GetAutomationRequest,
8087
GetAutomationRunRequest,
8188
GetConfigRequest,
89+
GetCustomTargetTypeRequest,
8290
GetDeliveryPipelineRequest,
8391
GetJobRunRequest,
8492
GetReleaseRequest,
@@ -94,6 +102,8 @@
94102
ListAutomationRunsResponse,
95103
ListAutomationsRequest,
96104
ListAutomationsResponse,
105+
ListCustomTargetTypesRequest,
106+
ListCustomTargetTypesResponse,
97107
ListDeliveryPipelinesRequest,
98108
ListDeliveryPipelinesResponse,
99109
ListJobRunsRequest,
@@ -139,6 +149,7 @@
139149
Rollout,
140150
RuntimeConfig,
141151
SerialPipeline,
152+
SkaffoldModules,
142153
SkaffoldSupportState,
143154
SkaffoldVersion,
144155
Stage,
@@ -152,6 +163,7 @@
152163
TerminateJobRunRequest,
153164
TerminateJobRunResponse,
154165
UpdateAutomationRequest,
166+
UpdateCustomTargetTypeRequest,
155167
UpdateDeliveryPipelineRequest,
156168
UpdateTargetRequest,
157169
VerifyJob,
@@ -214,13 +226,20 @@
214226
"CreateAutomationRequest",
215227
"CreateChildRolloutJob",
216228
"CreateChildRolloutJobRun",
229+
"CreateCustomTargetTypeRequest",
217230
"CreateDeliveryPipelineRequest",
218231
"CreateReleaseRequest",
219232
"CreateRolloutRequest",
220233
"CreateTargetRequest",
221234
"CustomCanaryDeployment",
235+
"CustomMetadata",
236+
"CustomTarget",
237+
"CustomTargetDeployMetadata",
238+
"CustomTargetSkaffoldActions",
239+
"CustomTargetType",
222240
"DefaultPool",
223241
"DeleteAutomationRequest",
242+
"DeleteCustomTargetTypeRequest",
224243
"DeleteDeliveryPipelineRequest",
225244
"DeleteTargetRequest",
226245
"DeliveryPipeline",
@@ -234,6 +253,7 @@
234253
"GetAutomationRequest",
235254
"GetAutomationRunRequest",
236255
"GetConfigRequest",
256+
"GetCustomTargetTypeRequest",
237257
"GetDeliveryPipelineRequest",
238258
"GetJobRunRequest",
239259
"GetReleaseRequest",
@@ -249,6 +269,8 @@
249269
"ListAutomationRunsResponse",
250270
"ListAutomationsRequest",
251271
"ListAutomationsResponse",
272+
"ListCustomTargetTypesRequest",
273+
"ListCustomTargetTypesResponse",
252274
"ListDeliveryPipelinesRequest",
253275
"ListDeliveryPipelinesResponse",
254276
"ListJobRunsRequest",
@@ -293,6 +315,7 @@
293315
"Rollout",
294316
"RuntimeConfig",
295317
"SerialPipeline",
318+
"SkaffoldModules",
296319
"SkaffoldVersion",
297320
"Stage",
298321
"Standard",
@@ -305,6 +328,7 @@
305328
"TerminateJobRunRequest",
306329
"TerminateJobRunResponse",
307330
"UpdateAutomationRequest",
331+
"UpdateCustomTargetTypeRequest",
308332
"UpdateDeliveryPipelineRequest",
309333
"UpdateTargetRequest",
310334
"VerifyJob",

packages/google-cloud-deploy/google/cloud/deploy_v1/__init__.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,20 @@
5656
CreateAutomationRequest,
5757
CreateChildRolloutJob,
5858
CreateChildRolloutJobRun,
59+
CreateCustomTargetTypeRequest,
5960
CreateDeliveryPipelineRequest,
6061
CreateReleaseRequest,
6162
CreateRolloutRequest,
6263
CreateTargetRequest,
6364
CustomCanaryDeployment,
65+
CustomMetadata,
66+
CustomTarget,
67+
CustomTargetDeployMetadata,
68+
CustomTargetSkaffoldActions,
69+
CustomTargetType,
6470
DefaultPool,
6571
DeleteAutomationRequest,
72+
DeleteCustomTargetTypeRequest,
6673
DeleteDeliveryPipelineRequest,
6774
DeleteTargetRequest,
6875
DeliveryPipeline,
@@ -76,6 +83,7 @@
7683
GetAutomationRequest,
7784
GetAutomationRunRequest,
7885
GetConfigRequest,
86+
GetCustomTargetTypeRequest,
7987
GetDeliveryPipelineRequest,
8088
GetJobRunRequest,
8189
GetReleaseRequest,
@@ -91,6 +99,8 @@
9199
ListAutomationRunsResponse,
92100
ListAutomationsRequest,
93101
ListAutomationsResponse,
102+
ListCustomTargetTypesRequest,
103+
ListCustomTargetTypesResponse,
94104
ListDeliveryPipelinesRequest,
95105
ListDeliveryPipelinesResponse,
96106
ListJobRunsRequest,
@@ -136,6 +146,7 @@
136146
Rollout,
137147
RuntimeConfig,
138148
SerialPipeline,
149+
SkaffoldModules,
139150
SkaffoldSupportState,
140151
SkaffoldVersion,
141152
Stage,
@@ -149,6 +160,7 @@
149160
TerminateJobRunRequest,
150161
TerminateJobRunResponse,
151162
UpdateAutomationRequest,
163+
UpdateCustomTargetTypeRequest,
152164
UpdateDeliveryPipelineRequest,
153165
UpdateTargetRequest,
154166
VerifyJob,
@@ -204,13 +216,20 @@
204216
"CreateAutomationRequest",
205217
"CreateChildRolloutJob",
206218
"CreateChildRolloutJobRun",
219+
"CreateCustomTargetTypeRequest",
207220
"CreateDeliveryPipelineRequest",
208221
"CreateReleaseRequest",
209222
"CreateRolloutRequest",
210223
"CreateTargetRequest",
211224
"CustomCanaryDeployment",
225+
"CustomMetadata",
226+
"CustomTarget",
227+
"CustomTargetDeployMetadata",
228+
"CustomTargetSkaffoldActions",
229+
"CustomTargetType",
212230
"DefaultPool",
213231
"DeleteAutomationRequest",
232+
"DeleteCustomTargetTypeRequest",
214233
"DeleteDeliveryPipelineRequest",
215234
"DeleteTargetRequest",
216235
"DeliveryPipeline",
@@ -225,6 +244,7 @@
225244
"GetAutomationRequest",
226245
"GetAutomationRunRequest",
227246
"GetConfigRequest",
247+
"GetCustomTargetTypeRequest",
228248
"GetDeliveryPipelineRequest",
229249
"GetJobRunRequest",
230250
"GetReleaseRequest",
@@ -241,6 +261,8 @@
241261
"ListAutomationRunsResponse",
242262
"ListAutomationsRequest",
243263
"ListAutomationsResponse",
264+
"ListCustomTargetTypesRequest",
265+
"ListCustomTargetTypesResponse",
244266
"ListDeliveryPipelinesRequest",
245267
"ListDeliveryPipelinesResponse",
246268
"ListJobRunsRequest",
@@ -290,6 +312,7 @@
290312
"RolloutUpdateEvent",
291313
"RuntimeConfig",
292314
"SerialPipeline",
315+
"SkaffoldModules",
293316
"SkaffoldSupportState",
294317
"SkaffoldVersion",
295318
"Stage",
@@ -305,6 +328,7 @@
305328
"TerminateJobRunResponse",
306329
"Type",
307330
"UpdateAutomationRequest",
331+
"UpdateCustomTargetTypeRequest",
308332
"UpdateDeliveryPipelineRequest",
309333
"UpdateTargetRequest",
310334
"VerifyJob",

packages/google-cloud-deploy/google/cloud/deploy_v1/gapic_metadata.json

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@
4040
"create_automation"
4141
]
4242
},
43+
"CreateCustomTargetType": {
44+
"methods": [
45+
"create_custom_target_type"
46+
]
47+
},
4348
"CreateDeliveryPipeline": {
4449
"methods": [
4550
"create_delivery_pipeline"
@@ -65,6 +70,11 @@
6570
"delete_automation"
6671
]
6772
},
73+
"DeleteCustomTargetType": {
74+
"methods": [
75+
"delete_custom_target_type"
76+
]
77+
},
6878
"DeleteDeliveryPipeline": {
6979
"methods": [
7080
"delete_delivery_pipeline"
@@ -90,6 +100,11 @@
90100
"get_config"
91101
]
92102
},
103+
"GetCustomTargetType": {
104+
"methods": [
105+
"get_custom_target_type"
106+
]
107+
},
93108
"GetDeliveryPipeline": {
94109
"methods": [
95110
"get_delivery_pipeline"
@@ -130,6 +145,11 @@
130145
"list_automations"
131146
]
132147
},
148+
"ListCustomTargetTypes": {
149+
"methods": [
150+
"list_custom_target_types"
151+
]
152+
},
133153
"ListDeliveryPipelines": {
134154
"methods": [
135155
"list_delivery_pipelines"
@@ -175,6 +195,11 @@
175195
"update_automation"
176196
]
177197
},
198+
"UpdateCustomTargetType": {
199+
"methods": [
200+
"update_custom_target_type"
201+
]
202+
},
178203
"UpdateDeliveryPipeline": {
179204
"methods": [
180205
"update_delivery_pipeline"
@@ -220,6 +245,11 @@
220245
"create_automation"
221246
]
222247
},
248+
"CreateCustomTargetType": {
249+
"methods": [
250+
"create_custom_target_type"
251+
]
252+
},
223253
"CreateDeliveryPipeline": {
224254
"methods": [
225255
"create_delivery_pipeline"
@@ -245,6 +275,11 @@
245275
"delete_automation"
246276
]
247277
},
278+
"DeleteCustomTargetType": {
279+
"methods": [
280+
"delete_custom_target_type"
281+
]
282+
},
248283
"DeleteDeliveryPipeline": {
249284
"methods": [
250285
"delete_delivery_pipeline"
@@ -270,6 +305,11 @@
270305
"get_config"
271306
]
272307
},
308+
"GetCustomTargetType": {
309+
"methods": [
310+
"get_custom_target_type"
311+
]
312+
},
273313
"GetDeliveryPipeline": {
274314
"methods": [
275315
"get_delivery_pipeline"
@@ -310,6 +350,11 @@
310350
"list_automations"
311351
]
312352
},
353+
"ListCustomTargetTypes": {
354+
"methods": [
355+
"list_custom_target_types"
356+
]
357+
},
313358
"ListDeliveryPipelines": {
314359
"methods": [
315360
"list_delivery_pipelines"
@@ -355,6 +400,11 @@
355400
"update_automation"
356401
]
357402
},
403+
"UpdateCustomTargetType": {
404+
"methods": [
405+
"update_custom_target_type"
406+
]
407+
},
358408
"UpdateDeliveryPipeline": {
359409
"methods": [
360410
"update_delivery_pipeline"
@@ -400,6 +450,11 @@
400450
"create_automation"
401451
]
402452
},
453+
"CreateCustomTargetType": {
454+
"methods": [
455+
"create_custom_target_type"
456+
]
457+
},
403458
"CreateDeliveryPipeline": {
404459
"methods": [
405460
"create_delivery_pipeline"
@@ -425,6 +480,11 @@
425480
"delete_automation"
426481
]
427482
},
483+
"DeleteCustomTargetType": {
484+
"methods": [
485+
"delete_custom_target_type"
486+
]
487+
},
428488
"DeleteDeliveryPipeline": {
429489
"methods": [
430490
"delete_delivery_pipeline"
@@ -450,6 +510,11 @@
450510
"get_config"
451511
]
452512
},
513+
"GetCustomTargetType": {
514+
"methods": [
515+
"get_custom_target_type"
516+
]
517+
},
453518
"GetDeliveryPipeline": {
454519
"methods": [
455520
"get_delivery_pipeline"
@@ -490,6 +555,11 @@
490555
"list_automations"
491556
]
492557
},
558+
"ListCustomTargetTypes": {
559+
"methods": [
560+
"list_custom_target_types"
561+
]
562+
},
493563
"ListDeliveryPipelines": {
494564
"methods": [
495565
"list_delivery_pipelines"
@@ -535,6 +605,11 @@
535605
"update_automation"
536606
]
537607
},
608+
"UpdateCustomTargetType": {
609+
"methods": [
610+
"update_custom_target_type"
611+
]
612+
},
538613
"UpdateDeliveryPipeline": {
539614
"methods": [
540615
"update_delivery_pipeline"

0 commit comments

Comments
 (0)