google-cloud-deploy-v1 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/lib/google/cloud/deploy/v1/cloud_deploy/client.rb +441 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy/paths.rb +25 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy_pb.rb +175 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy_services_pb.rb +8 -0
- data/lib/google/cloud/deploy/v1/jobrun_notification_payload_pb.rb +30 -0
- data/lib/google/cloud/deploy/v1/version.rb +1 -1
- data/proto_docs/google/cloud/deploy/v1/cloud_deploy.rb +450 -8
- data/proto_docs/google/cloud/deploy/v1/jobrun_notification_payload.rb +55 -0
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +47 -4
@@ -8,6 +8,7 @@ require 'google/api/client_pb'
|
|
8
8
|
require 'google/api/field_behavior_pb'
|
9
9
|
require 'google/api/resource_pb'
|
10
10
|
require 'google/longrunning/operations_pb'
|
11
|
+
require 'google/protobuf/duration_pb'
|
11
12
|
require 'google/protobuf/field_mask_pb'
|
12
13
|
require 'google/protobuf/timestamp_pb'
|
13
14
|
require 'google/type/date_pb'
|
@@ -24,6 +25,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
24
25
|
optional :update_time, :message, 7, "google.protobuf.Timestamp"
|
25
26
|
optional :condition, :message, 11, "google.cloud.deploy.v1.PipelineCondition"
|
26
27
|
optional :etag, :string, 10
|
28
|
+
optional :suspended, :bool, 12
|
27
29
|
oneof :pipeline do
|
28
30
|
optional :serial_pipeline, :message, 8, "google.cloud.deploy.v1.SerialPipeline"
|
29
31
|
end
|
@@ -34,6 +36,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
34
36
|
add_message "google.cloud.deploy.v1.Stage" do
|
35
37
|
optional :target_id, :string, 1
|
36
38
|
repeated :profiles, :string, 2
|
39
|
+
optional :strategy, :message, 5, "google.cloud.deploy.v1.Strategy"
|
40
|
+
end
|
41
|
+
add_message "google.cloud.deploy.v1.Strategy" do
|
42
|
+
oneof :deployment_strategy do
|
43
|
+
optional :standard, :message, 1, "google.cloud.deploy.v1.Standard"
|
44
|
+
end
|
45
|
+
end
|
46
|
+
add_message "google.cloud.deploy.v1.Standard" do
|
47
|
+
optional :verify, :bool, 1
|
37
48
|
end
|
38
49
|
add_message "google.cloud.deploy.v1.PipelineReadyCondition" do
|
39
50
|
optional :status, :bool, 3
|
@@ -100,6 +111,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
100
111
|
oneof :deployment_target do
|
101
112
|
optional :gke, :message, 15, "google.cloud.deploy.v1.GkeCluster"
|
102
113
|
optional :anthos_cluster, :message, 17, "google.cloud.deploy.v1.AnthosCluster"
|
114
|
+
optional :run, :message, 18, "google.cloud.deploy.v1.CloudRunLocation"
|
103
115
|
end
|
104
116
|
end
|
105
117
|
add_message "google.cloud.deploy.v1.ExecutionConfig" do
|
@@ -107,6 +119,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
107
119
|
optional :worker_pool, :string, 4
|
108
120
|
optional :service_account, :string, 5
|
109
121
|
optional :artifact_storage, :string, 6
|
122
|
+
optional :execution_timeout, :message, 7, "google.protobuf.Duration"
|
110
123
|
oneof :execution_environment do
|
111
124
|
optional :default_pool, :message, 2, "google.cloud.deploy.v1.DefaultPool"
|
112
125
|
optional :private_pool, :message, 3, "google.cloud.deploy.v1.PrivatePool"
|
@@ -116,6 +129,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
116
129
|
value :EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED, 0
|
117
130
|
value :RENDER, 1
|
118
131
|
value :DEPLOY, 2
|
132
|
+
value :VERIFY, 3
|
119
133
|
end
|
120
134
|
add_message "google.cloud.deploy.v1.DefaultPool" do
|
121
135
|
optional :service_account, :string, 1
|
@@ -133,6 +147,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
133
147
|
add_message "google.cloud.deploy.v1.AnthosCluster" do
|
134
148
|
optional :membership, :string, 1
|
135
149
|
end
|
150
|
+
add_message "google.cloud.deploy.v1.CloudRunLocation" do
|
151
|
+
optional :location, :string, 1
|
152
|
+
end
|
136
153
|
add_message "google.cloud.deploy.v1.ListTargetsRequest" do
|
137
154
|
optional :parent, :string, 1
|
138
155
|
optional :page_size, :int32, 2
|
@@ -175,6 +192,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
175
192
|
optional :description, :string, 3
|
176
193
|
map :annotations, :string, :string, 4
|
177
194
|
map :labels, :string, :string, 5
|
195
|
+
optional :abandoned, :bool, 23
|
178
196
|
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
179
197
|
optional :render_start_time, :message, 7, "google.protobuf.Timestamp"
|
180
198
|
optional :render_end_time, :message, 8, "google.protobuf.Timestamp"
|
@@ -193,6 +211,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
193
211
|
optional :rendering_build, :string, 1
|
194
212
|
optional :rendering_state, :enum, 2, "google.cloud.deploy.v1.Release.TargetRender.TargetRenderState"
|
195
213
|
optional :failure_cause, :enum, 4, "google.cloud.deploy.v1.Release.TargetRender.FailureCause"
|
214
|
+
optional :failure_message, :string, 5
|
196
215
|
end
|
197
216
|
add_enum "google.cloud.deploy.v1.Release.TargetRender.TargetRenderState" do
|
198
217
|
value :TARGET_RENDER_STATE_UNSPECIFIED, 0
|
@@ -262,6 +281,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
262
281
|
optional :deploying_build, :string, 17
|
263
282
|
optional :etag, :string, 16
|
264
283
|
optional :deploy_failure_cause, :enum, 19, "google.cloud.deploy.v1.Rollout.FailureCause"
|
284
|
+
repeated :phases, :message, 23, "google.cloud.deploy.v1.Phase"
|
285
|
+
optional :metadata, :message, 24, "google.cloud.deploy.v1.Metadata"
|
265
286
|
end
|
266
287
|
add_enum "google.cloud.deploy.v1.Rollout.ApprovalState" do
|
267
288
|
value :APPROVAL_STATE_UNSPECIFIED, 0
|
@@ -286,6 +307,60 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
286
307
|
value :EXECUTION_FAILED, 2
|
287
308
|
value :DEADLINE_EXCEEDED, 3
|
288
309
|
value :RELEASE_FAILED, 4
|
310
|
+
value :RELEASE_ABANDONED, 5
|
311
|
+
value :VERIFICATION_CONFIG_NOT_FOUND, 6
|
312
|
+
end
|
313
|
+
add_message "google.cloud.deploy.v1.Metadata" do
|
314
|
+
optional :cloud_run, :message, 1, "google.cloud.deploy.v1.CloudRunMetadata"
|
315
|
+
end
|
316
|
+
add_message "google.cloud.deploy.v1.DeployJobRunMetadata" do
|
317
|
+
optional :cloud_run, :message, 1, "google.cloud.deploy.v1.CloudRunMetadata"
|
318
|
+
end
|
319
|
+
add_message "google.cloud.deploy.v1.CloudRunMetadata" do
|
320
|
+
optional :service, :string, 1
|
321
|
+
repeated :service_urls, :string, 2
|
322
|
+
optional :revision, :string, 3
|
323
|
+
end
|
324
|
+
add_message "google.cloud.deploy.v1.Phase" do
|
325
|
+
optional :id, :string, 1
|
326
|
+
optional :state, :enum, 3, "google.cloud.deploy.v1.Phase.State"
|
327
|
+
oneof :jobs do
|
328
|
+
optional :deployment_jobs, :message, 4, "google.cloud.deploy.v1.DeploymentJobs"
|
329
|
+
end
|
330
|
+
end
|
331
|
+
add_enum "google.cloud.deploy.v1.Phase.State" do
|
332
|
+
value :STATE_UNSPECIFIED, 0
|
333
|
+
value :PENDING, 1
|
334
|
+
value :IN_PROGRESS, 2
|
335
|
+
value :SUCCEEDED, 3
|
336
|
+
value :FAILED, 4
|
337
|
+
value :ABORTED, 5
|
338
|
+
end
|
339
|
+
add_message "google.cloud.deploy.v1.DeploymentJobs" do
|
340
|
+
optional :deploy_job, :message, 1, "google.cloud.deploy.v1.Job"
|
341
|
+
optional :verify_job, :message, 2, "google.cloud.deploy.v1.Job"
|
342
|
+
end
|
343
|
+
add_message "google.cloud.deploy.v1.Job" do
|
344
|
+
optional :id, :string, 1
|
345
|
+
optional :state, :enum, 2, "google.cloud.deploy.v1.Job.State"
|
346
|
+
optional :job_run, :string, 3
|
347
|
+
oneof :job_type do
|
348
|
+
optional :deploy_job, :message, 4, "google.cloud.deploy.v1.DeployJob"
|
349
|
+
optional :verify_job, :message, 5, "google.cloud.deploy.v1.VerifyJob"
|
350
|
+
end
|
351
|
+
end
|
352
|
+
add_enum "google.cloud.deploy.v1.Job.State" do
|
353
|
+
value :STATE_UNSPECIFIED, 0
|
354
|
+
value :PENDING, 1
|
355
|
+
value :DISABLED, 2
|
356
|
+
value :IN_PROGRESS, 3
|
357
|
+
value :SUCCEEDED, 4
|
358
|
+
value :FAILED, 5
|
359
|
+
value :ABORTED, 6
|
360
|
+
end
|
361
|
+
add_message "google.cloud.deploy.v1.DeployJob" do
|
362
|
+
end
|
363
|
+
add_message "google.cloud.deploy.v1.VerifyJob" do
|
289
364
|
end
|
290
365
|
add_message "google.cloud.deploy.v1.ListRolloutsRequest" do
|
291
366
|
optional :parent, :string, 1
|
@@ -324,6 +399,80 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
324
399
|
end
|
325
400
|
add_message "google.cloud.deploy.v1.ApproveRolloutResponse" do
|
326
401
|
end
|
402
|
+
add_message "google.cloud.deploy.v1.RetryJobRequest" do
|
403
|
+
optional :rollout, :string, 1
|
404
|
+
optional :phase_id, :string, 2
|
405
|
+
optional :job_id, :string, 3
|
406
|
+
end
|
407
|
+
add_message "google.cloud.deploy.v1.RetryJobResponse" do
|
408
|
+
end
|
409
|
+
add_message "google.cloud.deploy.v1.AbandonReleaseRequest" do
|
410
|
+
optional :name, :string, 1
|
411
|
+
end
|
412
|
+
add_message "google.cloud.deploy.v1.AbandonReleaseResponse" do
|
413
|
+
end
|
414
|
+
add_message "google.cloud.deploy.v1.JobRun" do
|
415
|
+
optional :name, :string, 1
|
416
|
+
optional :uid, :string, 2
|
417
|
+
optional :phase_id, :string, 3
|
418
|
+
optional :job_id, :string, 4
|
419
|
+
optional :create_time, :message, 5, "google.protobuf.Timestamp"
|
420
|
+
optional :start_time, :message, 6, "google.protobuf.Timestamp"
|
421
|
+
optional :end_time, :message, 7, "google.protobuf.Timestamp"
|
422
|
+
optional :state, :enum, 8, "google.cloud.deploy.v1.JobRun.State"
|
423
|
+
optional :etag, :string, 11
|
424
|
+
oneof :job_run do
|
425
|
+
optional :deploy_job_run, :message, 9, "google.cloud.deploy.v1.DeployJobRun"
|
426
|
+
optional :verify_job_run, :message, 10, "google.cloud.deploy.v1.VerifyJobRun"
|
427
|
+
end
|
428
|
+
end
|
429
|
+
add_enum "google.cloud.deploy.v1.JobRun.State" do
|
430
|
+
value :STATE_UNSPECIFIED, 0
|
431
|
+
value :IN_PROGRESS, 1
|
432
|
+
value :SUCCEEDED, 2
|
433
|
+
value :FAILED, 3
|
434
|
+
end
|
435
|
+
add_message "google.cloud.deploy.v1.DeployJobRun" do
|
436
|
+
optional :build, :string, 1
|
437
|
+
optional :failure_cause, :enum, 2, "google.cloud.deploy.v1.DeployJobRun.FailureCause"
|
438
|
+
optional :failure_message, :string, 3
|
439
|
+
optional :metadata, :message, 4, "google.cloud.deploy.v1.DeployJobRunMetadata"
|
440
|
+
end
|
441
|
+
add_enum "google.cloud.deploy.v1.DeployJobRun.FailureCause" do
|
442
|
+
value :FAILURE_CAUSE_UNSPECIFIED, 0
|
443
|
+
value :CLOUD_BUILD_UNAVAILABLE, 1
|
444
|
+
value :EXECUTION_FAILED, 2
|
445
|
+
value :DEADLINE_EXCEEDED, 3
|
446
|
+
end
|
447
|
+
add_message "google.cloud.deploy.v1.VerifyJobRun" do
|
448
|
+
optional :build, :string, 1
|
449
|
+
optional :artifact_uri, :string, 2
|
450
|
+
optional :event_log_path, :string, 3
|
451
|
+
optional :failure_cause, :enum, 4, "google.cloud.deploy.v1.VerifyJobRun.FailureCause"
|
452
|
+
optional :failure_message, :string, 5
|
453
|
+
end
|
454
|
+
add_enum "google.cloud.deploy.v1.VerifyJobRun.FailureCause" do
|
455
|
+
value :FAILURE_CAUSE_UNSPECIFIED, 0
|
456
|
+
value :CLOUD_BUILD_UNAVAILABLE, 1
|
457
|
+
value :EXECUTION_FAILED, 2
|
458
|
+
value :DEADLINE_EXCEEDED, 3
|
459
|
+
value :VERIFICATION_CONFIG_NOT_FOUND, 4
|
460
|
+
end
|
461
|
+
add_message "google.cloud.deploy.v1.ListJobRunsRequest" do
|
462
|
+
optional :parent, :string, 1
|
463
|
+
optional :page_size, :int32, 2
|
464
|
+
optional :page_token, :string, 3
|
465
|
+
optional :filter, :string, 4
|
466
|
+
optional :order_by, :string, 5
|
467
|
+
end
|
468
|
+
add_message "google.cloud.deploy.v1.ListJobRunsResponse" do
|
469
|
+
repeated :job_runs, :message, 1, "google.cloud.deploy.v1.JobRun"
|
470
|
+
optional :next_page_token, :string, 2
|
471
|
+
repeated :unreachable, :string, 3
|
472
|
+
end
|
473
|
+
add_message "google.cloud.deploy.v1.GetJobRunRequest" do
|
474
|
+
optional :name, :string, 1
|
475
|
+
end
|
327
476
|
add_message "google.cloud.deploy.v1.Config" do
|
328
477
|
optional :name, :string, 1
|
329
478
|
repeated :supported_versions, :message, 2, "google.cloud.deploy.v1.SkaffoldVersion"
|
@@ -346,6 +495,8 @@ module Google
|
|
346
495
|
DeliveryPipeline = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.DeliveryPipeline").msgclass
|
347
496
|
SerialPipeline = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.SerialPipeline").msgclass
|
348
497
|
Stage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Stage").msgclass
|
498
|
+
Strategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Strategy").msgclass
|
499
|
+
Standard = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Standard").msgclass
|
349
500
|
PipelineReadyCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.PipelineReadyCondition").msgclass
|
350
501
|
TargetsPresentCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.TargetsPresentCondition").msgclass
|
351
502
|
PipelineCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.PipelineCondition").msgclass
|
@@ -362,6 +513,7 @@ module Google
|
|
362
513
|
PrivatePool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.PrivatePool").msgclass
|
363
514
|
GkeCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.GkeCluster").msgclass
|
364
515
|
AnthosCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.AnthosCluster").msgclass
|
516
|
+
CloudRunLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.CloudRunLocation").msgclass
|
365
517
|
ListTargetsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ListTargetsRequest").msgclass
|
366
518
|
ListTargetsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ListTargetsResponse").msgclass
|
367
519
|
GetTargetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.GetTargetRequest").msgclass
|
@@ -383,6 +535,16 @@ module Google
|
|
383
535
|
Rollout::ApprovalState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Rollout.ApprovalState").enummodule
|
384
536
|
Rollout::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Rollout.State").enummodule
|
385
537
|
Rollout::FailureCause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Rollout.FailureCause").enummodule
|
538
|
+
Metadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Metadata").msgclass
|
539
|
+
DeployJobRunMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.DeployJobRunMetadata").msgclass
|
540
|
+
CloudRunMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.CloudRunMetadata").msgclass
|
541
|
+
Phase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Phase").msgclass
|
542
|
+
Phase::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Phase.State").enummodule
|
543
|
+
DeploymentJobs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.DeploymentJobs").msgclass
|
544
|
+
Job = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Job").msgclass
|
545
|
+
Job::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Job.State").enummodule
|
546
|
+
DeployJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.DeployJob").msgclass
|
547
|
+
VerifyJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.VerifyJob").msgclass
|
386
548
|
ListRolloutsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ListRolloutsRequest").msgclass
|
387
549
|
ListRolloutsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ListRolloutsResponse").msgclass
|
388
550
|
GetRolloutRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.GetRolloutRequest").msgclass
|
@@ -390,6 +552,19 @@ module Google
|
|
390
552
|
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.OperationMetadata").msgclass
|
391
553
|
ApproveRolloutRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ApproveRolloutRequest").msgclass
|
392
554
|
ApproveRolloutResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ApproveRolloutResponse").msgclass
|
555
|
+
RetryJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.RetryJobRequest").msgclass
|
556
|
+
RetryJobResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.RetryJobResponse").msgclass
|
557
|
+
AbandonReleaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.AbandonReleaseRequest").msgclass
|
558
|
+
AbandonReleaseResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.AbandonReleaseResponse").msgclass
|
559
|
+
JobRun = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.JobRun").msgclass
|
560
|
+
JobRun::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.JobRun.State").enummodule
|
561
|
+
DeployJobRun = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.DeployJobRun").msgclass
|
562
|
+
DeployJobRun::FailureCause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.DeployJobRun.FailureCause").enummodule
|
563
|
+
VerifyJobRun = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.VerifyJobRun").msgclass
|
564
|
+
VerifyJobRun::FailureCause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.VerifyJobRun.FailureCause").enummodule
|
565
|
+
ListJobRunsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ListJobRunsRequest").msgclass
|
566
|
+
ListJobRunsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ListJobRunsResponse").msgclass
|
567
|
+
GetJobRunRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.GetJobRunRequest").msgclass
|
393
568
|
Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Config").msgclass
|
394
569
|
SkaffoldVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.SkaffoldVersion").msgclass
|
395
570
|
GetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.GetConfigRequest").msgclass
|
@@ -60,6 +60,8 @@ module Google
|
|
60
60
|
rpc :GetRelease, ::Google::Cloud::Deploy::V1::GetReleaseRequest, ::Google::Cloud::Deploy::V1::Release
|
61
61
|
# Creates a new Release in a given project and location.
|
62
62
|
rpc :CreateRelease, ::Google::Cloud::Deploy::V1::CreateReleaseRequest, ::Google::Longrunning::Operation
|
63
|
+
# Abandons a Release in the Delivery Pipeline.
|
64
|
+
rpc :AbandonRelease, ::Google::Cloud::Deploy::V1::AbandonReleaseRequest, ::Google::Cloud::Deploy::V1::AbandonReleaseResponse
|
63
65
|
# Approves a Rollout.
|
64
66
|
rpc :ApproveRollout, ::Google::Cloud::Deploy::V1::ApproveRolloutRequest, ::Google::Cloud::Deploy::V1::ApproveRolloutResponse
|
65
67
|
# Lists Rollouts in a given project and location.
|
@@ -68,6 +70,12 @@ module Google
|
|
68
70
|
rpc :GetRollout, ::Google::Cloud::Deploy::V1::GetRolloutRequest, ::Google::Cloud::Deploy::V1::Rollout
|
69
71
|
# Creates a new Rollout in a given project and location.
|
70
72
|
rpc :CreateRollout, ::Google::Cloud::Deploy::V1::CreateRolloutRequest, ::Google::Longrunning::Operation
|
73
|
+
# Retries the specified Job in a Rollout.
|
74
|
+
rpc :RetryJob, ::Google::Cloud::Deploy::V1::RetryJobRequest, ::Google::Cloud::Deploy::V1::RetryJobResponse
|
75
|
+
# Lists JobRuns in a given project and location.
|
76
|
+
rpc :ListJobRuns, ::Google::Cloud::Deploy::V1::ListJobRunsRequest, ::Google::Cloud::Deploy::V1::ListJobRunsResponse
|
77
|
+
# Gets details of a single JobRun.
|
78
|
+
rpc :GetJobRun, ::Google::Cloud::Deploy::V1::GetJobRunRequest, ::Google::Cloud::Deploy::V1::JobRun
|
71
79
|
# Gets the configuration for a location.
|
72
80
|
rpc :GetConfig, ::Google::Cloud::Deploy::V1::GetConfigRequest, ::Google::Cloud::Deploy::V1::Config
|
73
81
|
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/deploy/v1/jobrun_notification_payload.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/cloud/deploy/v1/log_enums_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("google/cloud/deploy/v1/jobrun_notification_payload.proto", :syntax => :proto3) do
|
10
|
+
add_message "google.cloud.deploy.v1.JobRunNotificationEvent" do
|
11
|
+
optional :message, :string, 1
|
12
|
+
optional :job_run, :string, 2
|
13
|
+
optional :pipeline_uid, :string, 3
|
14
|
+
optional :release_uid, :string, 4
|
15
|
+
optional :rollout_uid, :string, 5
|
16
|
+
optional :target_id, :string, 6
|
17
|
+
optional :type, :enum, 7, "google.cloud.deploy.v1.Type"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module Deploy
|
25
|
+
module V1
|
26
|
+
JobRunNotificationEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.JobRunNotificationEvent").msgclass
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|