Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit 03ab410

Browse filesBrowse files
feat: Publish new JobRun resource and associated methods for Google Cloud Deploy (#133)
* feat: Publish new JobRun resource and associated methods for Google Cloud Deploy PiperOrigin-RevId: 477144554 Source-Link: googleapis/googleapis@59a30fb Source-Link: https://github.com/googleapis/googleapis-gen/commit/4edce039d3cffaa4202f6112d9caf6fc29dec0be Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGVkY2UwMzlkM2NmZmFhNDIwMmY2MTEyZDljYWY2ZmMyOWRlYzBiZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix(deps): require grpc-google-iam-v1 >= 0.12.4 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent e3de822 commit 03ab410
Copy full SHA for 03ab410
Expand file treeCollapse file tree

25 files changed

+8685
-929
lines changed

‎google/cloud/deploy/__init__.py

Copy file name to clipboardExpand all lines: google/cloud/deploy/__init__.py
+46Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@
1919
)
2020
from google.cloud.deploy_v1.services.cloud_deploy.client import CloudDeployClient
2121
from google.cloud.deploy_v1.types.cloud_deploy import (
22+
AbandonReleaseRequest,
23+
AbandonReleaseResponse,
2224
AnthosCluster,
2325
ApproveRolloutRequest,
2426
ApproveRolloutResponse,
2527
BuildArtifact,
28+
CloudRunLocation,
29+
CloudRunMetadata,
2630
Config,
2731
CreateDeliveryPipelineRequest,
2832
CreateReleaseRequest,
@@ -32,39 +36,59 @@
3236
DeleteDeliveryPipelineRequest,
3337
DeleteTargetRequest,
3438
DeliveryPipeline,
39+
DeployJob,
40+
DeployJobRun,
41+
DeployJobRunMetadata,
42+
DeploymentJobs,
3543
ExecutionConfig,
3644
GetConfigRequest,
3745
GetDeliveryPipelineRequest,
46+
GetJobRunRequest,
3847
GetReleaseRequest,
3948
GetRolloutRequest,
4049
GetTargetRequest,
4150
GkeCluster,
51+
Job,
52+
JobRun,
4253
ListDeliveryPipelinesRequest,
4354
ListDeliveryPipelinesResponse,
55+
ListJobRunsRequest,
56+
ListJobRunsResponse,
4457
ListReleasesRequest,
4558
ListReleasesResponse,
4659
ListRolloutsRequest,
4760
ListRolloutsResponse,
4861
ListTargetsRequest,
4962
ListTargetsResponse,
63+
Metadata,
5064
OperationMetadata,
65+
Phase,
5166
PipelineCondition,
5267
PipelineReadyCondition,
5368
PrivatePool,
5469
Release,
70+
RetryJobRequest,
71+
RetryJobResponse,
5572
Rollout,
5673
SerialPipeline,
5774
SkaffoldVersion,
5875
Stage,
76+
Standard,
77+
Strategy,
5978
Target,
6079
TargetArtifact,
6180
TargetsPresentCondition,
6281
UpdateDeliveryPipelineRequest,
6382
UpdateTargetRequest,
83+
VerifyJob,
84+
VerifyJobRun,
6485
)
6586
from google.cloud.deploy_v1.types.deliverypipeline_notification_payload import (
6687
DeliveryPipelineNotificationEvent,
6788
)
89+
from google.cloud.deploy_v1.types.jobrun_notification_payload import (
90+
JobRunNotificationEvent,
91+
)
6892
from google.cloud.deploy_v1.types.log_enums import Type
6993
from google.cloud.deploy_v1.types.release_notification_payload import (
7094
ReleaseNotificationEvent,
@@ -80,10 +104,14 @@
80104
__all__ = (
81105
"CloudDeployClient",
82106
"CloudDeployAsyncClient",
107+
"AbandonReleaseRequest",
108+
"AbandonReleaseResponse",
83109
"AnthosCluster",
84110
"ApproveRolloutRequest",
85111
"ApproveRolloutResponse",
86112
"BuildArtifact",
113+
"CloudRunLocation",
114+
"CloudRunMetadata",
87115
"Config",
88116
"CreateDeliveryPipelineRequest",
89117
"CreateReleaseRequest",
@@ -93,36 +121,54 @@
93121
"DeleteDeliveryPipelineRequest",
94122
"DeleteTargetRequest",
95123
"DeliveryPipeline",
124+
"DeployJob",
125+
"DeployJobRun",
126+
"DeployJobRunMetadata",
127+
"DeploymentJobs",
96128
"ExecutionConfig",
97129
"GetConfigRequest",
98130
"GetDeliveryPipelineRequest",
131+
"GetJobRunRequest",
99132
"GetReleaseRequest",
100133
"GetRolloutRequest",
101134
"GetTargetRequest",
102135
"GkeCluster",
136+
"Job",
137+
"JobRun",
103138
"ListDeliveryPipelinesRequest",
104139
"ListDeliveryPipelinesResponse",
140+
"ListJobRunsRequest",
141+
"ListJobRunsResponse",
105142
"ListReleasesRequest",
106143
"ListReleasesResponse",
107144
"ListRolloutsRequest",
108145
"ListRolloutsResponse",
109146
"ListTargetsRequest",
110147
"ListTargetsResponse",
148+
"Metadata",
111149
"OperationMetadata",
150+
"Phase",
112151
"PipelineCondition",
113152
"PipelineReadyCondition",
114153
"PrivatePool",
115154
"Release",
155+
"RetryJobRequest",
156+
"RetryJobResponse",
116157
"Rollout",
117158
"SerialPipeline",
118159
"SkaffoldVersion",
119160
"Stage",
161+
"Standard",
162+
"Strategy",
120163
"Target",
121164
"TargetArtifact",
122165
"TargetsPresentCondition",
123166
"UpdateDeliveryPipelineRequest",
124167
"UpdateTargetRequest",
168+
"VerifyJob",
169+
"VerifyJobRun",
125170
"DeliveryPipelineNotificationEvent",
171+
"JobRunNotificationEvent",
126172
"Type",
127173
"ReleaseNotificationEvent",
128174
"ReleaseRenderEvent",

‎google/cloud/deploy_v1/__init__.py

Copy file name to clipboardExpand all lines: google/cloud/deploy_v1/__init__.py
+44Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@
1616

1717
from .services.cloud_deploy import CloudDeployAsyncClient, CloudDeployClient
1818
from .types.cloud_deploy import (
19+
AbandonReleaseRequest,
20+
AbandonReleaseResponse,
1921
AnthosCluster,
2022
ApproveRolloutRequest,
2123
ApproveRolloutResponse,
2224
BuildArtifact,
25+
CloudRunLocation,
26+
CloudRunMetadata,
2327
Config,
2428
CreateDeliveryPipelineRequest,
2529
CreateReleaseRequest,
@@ -29,39 +33,57 @@
2933
DeleteDeliveryPipelineRequest,
3034
DeleteTargetRequest,
3135
DeliveryPipeline,
36+
DeployJob,
37+
DeployJobRun,
38+
DeployJobRunMetadata,
39+
DeploymentJobs,
3240
ExecutionConfig,
3341
GetConfigRequest,
3442
GetDeliveryPipelineRequest,
43+
GetJobRunRequest,
3544
GetReleaseRequest,
3645
GetRolloutRequest,
3746
GetTargetRequest,
3847
GkeCluster,
48+
Job,
49+
JobRun,
3950
ListDeliveryPipelinesRequest,
4051
ListDeliveryPipelinesResponse,
52+
ListJobRunsRequest,
53+
ListJobRunsResponse,
4154
ListReleasesRequest,
4255
ListReleasesResponse,
4356
ListRolloutsRequest,
4457
ListRolloutsResponse,
4558
ListTargetsRequest,
4659
ListTargetsResponse,
60+
Metadata,
4761
OperationMetadata,
62+
Phase,
4863
PipelineCondition,
4964
PipelineReadyCondition,
5065
PrivatePool,
5166
Release,
67+
RetryJobRequest,
68+
RetryJobResponse,
5269
Rollout,
5370
SerialPipeline,
5471
SkaffoldVersion,
5572
Stage,
73+
Standard,
74+
Strategy,
5675
Target,
5776
TargetArtifact,
5877
TargetsPresentCondition,
5978
UpdateDeliveryPipelineRequest,
6079
UpdateTargetRequest,
80+
VerifyJob,
81+
VerifyJobRun,
6182
)
6283
from .types.deliverypipeline_notification_payload import (
6384
DeliveryPipelineNotificationEvent,
6485
)
86+
from .types.jobrun_notification_payload import JobRunNotificationEvent
6587
from .types.log_enums import Type
6688
from .types.release_notification_payload import ReleaseNotificationEvent
6789
from .types.release_render_payload import ReleaseRenderEvent
@@ -70,11 +92,15 @@
7092

7193
__all__ = (
7294
"CloudDeployAsyncClient",
95+
"AbandonReleaseRequest",
96+
"AbandonReleaseResponse",
7397
"AnthosCluster",
7498
"ApproveRolloutRequest",
7599
"ApproveRolloutResponse",
76100
"BuildArtifact",
77101
"CloudDeployClient",
102+
"CloudRunLocation",
103+
"CloudRunMetadata",
78104
"Config",
79105
"CreateDeliveryPipelineRequest",
80106
"CreateReleaseRequest",
@@ -85,38 +111,56 @@
85111
"DeleteTargetRequest",
86112
"DeliveryPipeline",
87113
"DeliveryPipelineNotificationEvent",
114+
"DeployJob",
115+
"DeployJobRun",
116+
"DeployJobRunMetadata",
117+
"DeploymentJobs",
88118
"ExecutionConfig",
89119
"GetConfigRequest",
90120
"GetDeliveryPipelineRequest",
121+
"GetJobRunRequest",
91122
"GetReleaseRequest",
92123
"GetRolloutRequest",
93124
"GetTargetRequest",
94125
"GkeCluster",
126+
"Job",
127+
"JobRun",
128+
"JobRunNotificationEvent",
95129
"ListDeliveryPipelinesRequest",
96130
"ListDeliveryPipelinesResponse",
131+
"ListJobRunsRequest",
132+
"ListJobRunsResponse",
97133
"ListReleasesRequest",
98134
"ListReleasesResponse",
99135
"ListRolloutsRequest",
100136
"ListRolloutsResponse",
101137
"ListTargetsRequest",
102138
"ListTargetsResponse",
139+
"Metadata",
103140
"OperationMetadata",
141+
"Phase",
104142
"PipelineCondition",
105143
"PipelineReadyCondition",
106144
"PrivatePool",
107145
"Release",
108146
"ReleaseNotificationEvent",
109147
"ReleaseRenderEvent",
148+
"RetryJobRequest",
149+
"RetryJobResponse",
110150
"Rollout",
111151
"RolloutNotificationEvent",
112152
"SerialPipeline",
113153
"SkaffoldVersion",
114154
"Stage",
155+
"Standard",
156+
"Strategy",
115157
"Target",
116158
"TargetArtifact",
117159
"TargetNotificationEvent",
118160
"TargetsPresentCondition",
119161
"Type",
120162
"UpdateDeliveryPipelineRequest",
121163
"UpdateTargetRequest",
164+
"VerifyJob",
165+
"VerifyJobRun",
122166
)

‎google/cloud/deploy_v1/gapic_metadata.json

Copy file name to clipboardExpand all lines: google/cloud/deploy_v1/gapic_metadata.json
+40Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
"grpc": {
1111
"libraryClient": "CloudDeployClient",
1212
"rpcs": {
13+
"AbandonRelease": {
14+
"methods": [
15+
"abandon_release"
16+
]
17+
},
1318
"ApproveRollout": {
1419
"methods": [
1520
"approve_rollout"
@@ -55,6 +60,11 @@
5560
"get_delivery_pipeline"
5661
]
5762
},
63+
"GetJobRun": {
64+
"methods": [
65+
"get_job_run"
66+
]
67+
},
5868
"GetRelease": {
5969
"methods": [
6070
"get_release"
@@ -75,6 +85,11 @@
7585
"list_delivery_pipelines"
7686
]
7787
},
88+
"ListJobRuns": {
89+
"methods": [
90+
"list_job_runs"
91+
]
92+
},
7893
"ListReleases": {
7994
"methods": [
8095
"list_releases"
@@ -90,6 +105,11 @@
90105
"list_targets"
91106
]
92107
},
108+
"RetryJob": {
109+
"methods": [
110+
"retry_job"
111+
]
112+
},
93113
"UpdateDeliveryPipeline": {
94114
"methods": [
95115
"update_delivery_pipeline"
@@ -105,6 +125,11 @@
105125
"grpc-async": {
106126
"libraryClient": "CloudDeployAsyncClient",
107127
"rpcs": {
128+
"AbandonRelease": {
129+
"methods": [
130+
"abandon_release"
131+
]
132+
},
108133
"ApproveRollout": {
109134
"methods": [
110135
"approve_rollout"
@@ -150,6 +175,11 @@
150175
"get_delivery_pipeline"
151176
]
152177
},
178+
"GetJobRun": {
179+
"methods": [
180+
"get_job_run"
181+
]
182+
},
153183
"GetRelease": {
154184
"methods": [
155185
"get_release"
@@ -170,6 +200,11 @@
170200
"list_delivery_pipelines"
171201
]
172202
},
203+
"ListJobRuns": {
204+
"methods": [
205+
"list_job_runs"
206+
]
207+
},
173208
"ListReleases": {
174209
"methods": [
175210
"list_releases"
@@ -185,6 +220,11 @@
185220
"list_targets"
186221
]
187222
},
223+
"RetryJob": {
224+
"methods": [
225+
"retry_job"
226+
]
227+
},
188228
"UpdateDeliveryPipeline": {
189229
"methods": [
190230
"update_delivery_pipeline"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.