google-apis-clouddeploy_v1 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5f5d1ddbded850d5b86692304c5c8d37e1dd1fb5df6e75226a5fd613b0216e3
|
4
|
+
data.tar.gz: 00e08be0ed22a6b2c1e3e9675fc88ac05a1ea31739ca0b3e6382d6f6fe1bee60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d97d246eae758b12874c47c922dc1c68033d478b1ab305642a69b5e108d2bb1300b91862b012e3bdf8656af2e299ccb7408ccab544411ff1d7285cf3b13851e
|
7
|
+
data.tar.gz: 4977354e4aefed451b583f5a0d3647f0e59ff34ed6ae6f2b2b757296eedadcd0b3d9453fb352d1aab1297bd619015f7007ae35fae1a7c6f4c3faad8288f0480a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-clouddeploy_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2022-09-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220909
|
6
|
+
|
7
|
+
### v0.14.0 (2022-09-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220906
|
10
|
+
|
3
11
|
### v0.13.0 (2022-08-22)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20220811
|
@@ -200,31 +200,33 @@ module Google
|
|
200
200
|
# members` can have the following values: * `allUsers`: A special identifier
|
201
201
|
# that represents anyone who is on the internet; with or without a Google
|
202
202
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
203
|
-
# anyone who is authenticated with a Google account or a service account.
|
204
|
-
#
|
205
|
-
#
|
206
|
-
#
|
207
|
-
#
|
208
|
-
#
|
209
|
-
#
|
210
|
-
#
|
211
|
-
# .
|
212
|
-
#
|
213
|
-
# email address
|
214
|
-
#
|
215
|
-
#
|
216
|
-
#
|
217
|
-
# emailid
|
218
|
-
#
|
219
|
-
#
|
220
|
-
#
|
221
|
-
#
|
222
|
-
#
|
223
|
-
#
|
224
|
-
#
|
225
|
-
#
|
226
|
-
#
|
227
|
-
#
|
203
|
+
# anyone who is authenticated with a Google account or a service account. Does
|
204
|
+
# not include identities that come from external identity providers (IdPs)
|
205
|
+
# through identity federation. * `user:`emailid``: An email address that
|
206
|
+
# represents a specific Google account. For example, `alice@example.com` . * `
|
207
|
+
# serviceAccount:`emailid``: An email address that represents a Google service
|
208
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
|
209
|
+
# serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
|
210
|
+
# identifier for a [Kubernetes service account](https://cloud.google.com/
|
211
|
+
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
212
|
+
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
213
|
+
# email address that represents a Google group. For example, `admins@example.com`
|
214
|
+
# . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
215
|
+
# identifier) representing a user that has been recently deleted. For example, `
|
216
|
+
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
217
|
+
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
218
|
+
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
219
|
+
# address (plus unique identifier) representing a service account that has been
|
220
|
+
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
221
|
+
# 123456789012345678901`. If the service account is undeleted, this value
|
222
|
+
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
223
|
+
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
224
|
+
# An email address (plus unique identifier) representing a Google group that has
|
225
|
+
# been recently deleted. For example, `admins@example.com?uid=
|
226
|
+
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
227
|
+
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
228
|
+
# domain:`domain``: The G Suite domain (primary) that represents all the users
|
229
|
+
# of that domain. For example, `google.com` or `example.com`.
|
228
230
|
# Corresponds to the JSON property `members`
|
229
231
|
# @return [Array<String>]
|
230
232
|
attr_accessor :members
|
@@ -286,6 +288,58 @@ module Google
|
|
286
288
|
end
|
287
289
|
end
|
288
290
|
|
291
|
+
# Information specifying where to deploy a Cloud Run Service.
|
292
|
+
class CloudRunLocation
|
293
|
+
include Google::Apis::Core::Hashable
|
294
|
+
|
295
|
+
# Required. The location for the Cloud Run Service. Format must be `projects/`
|
296
|
+
# project`/locations/`location``.
|
297
|
+
# Corresponds to the JSON property `location`
|
298
|
+
# @return [String]
|
299
|
+
attr_accessor :location
|
300
|
+
|
301
|
+
def initialize(**args)
|
302
|
+
update!(**args)
|
303
|
+
end
|
304
|
+
|
305
|
+
# Update properties of this object
|
306
|
+
def update!(**args)
|
307
|
+
@location = args[:location] if args.key?(:location)
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
311
|
+
# CloudRunMetadata contains information from a Cloud Run deployment.
|
312
|
+
class CloudRunMetadata
|
313
|
+
include Google::Apis::Core::Hashable
|
314
|
+
|
315
|
+
# Output only. The Cloud Run Revision id associated with a `Rollout`.
|
316
|
+
# Corresponds to the JSON property `revision`
|
317
|
+
# @return [String]
|
318
|
+
attr_accessor :revision
|
319
|
+
|
320
|
+
# Output only. The name of the Cloud Run Service that is associated with a `
|
321
|
+
# Rollout`. Format is projects/`project`/locations/`location`/services/`service`.
|
322
|
+
# Corresponds to the JSON property `service`
|
323
|
+
# @return [String]
|
324
|
+
attr_accessor :service
|
325
|
+
|
326
|
+
# Output only. The Cloud Run Service urls that are associated with a `Rollout`.
|
327
|
+
# Corresponds to the JSON property `serviceUrls`
|
328
|
+
# @return [Array<String>]
|
329
|
+
attr_accessor :service_urls
|
330
|
+
|
331
|
+
def initialize(**args)
|
332
|
+
update!(**args)
|
333
|
+
end
|
334
|
+
|
335
|
+
# Update properties of this object
|
336
|
+
def update!(**args)
|
337
|
+
@revision = args[:revision] if args.key?(:revision)
|
338
|
+
@service = args[:service] if args.key?(:service)
|
339
|
+
@service_urls = args[:service_urls] if args.key?(:service_urls)
|
340
|
+
end
|
341
|
+
end
|
342
|
+
|
289
343
|
# Service-wide configuration.
|
290
344
|
class Config
|
291
345
|
include Google::Apis::Core::Hashable
|
@@ -516,6 +570,77 @@ module Google
|
|
516
570
|
end
|
517
571
|
end
|
518
572
|
|
573
|
+
# A deploy Job.
|
574
|
+
class DeployJob
|
575
|
+
include Google::Apis::Core::Hashable
|
576
|
+
|
577
|
+
def initialize(**args)
|
578
|
+
update!(**args)
|
579
|
+
end
|
580
|
+
|
581
|
+
# Update properties of this object
|
582
|
+
def update!(**args)
|
583
|
+
end
|
584
|
+
end
|
585
|
+
|
586
|
+
# DeployJobRun contains information specific to a deploy `JobRun`.
|
587
|
+
class DeployJobRun
|
588
|
+
include Google::Apis::Core::Hashable
|
589
|
+
|
590
|
+
# Output only. The resource name of the Cloud Build `Build` object that is used
|
591
|
+
# to deploy. Format is projects/`project`/locations/`location`/builds/`build`.
|
592
|
+
# Corresponds to the JSON property `build`
|
593
|
+
# @return [String]
|
594
|
+
attr_accessor :build
|
595
|
+
|
596
|
+
# Output only. The reason the deploy failed. This will always be unspecified
|
597
|
+
# while the deploy is in progress or if it succeeded.
|
598
|
+
# Corresponds to the JSON property `failureCause`
|
599
|
+
# @return [String]
|
600
|
+
attr_accessor :failure_cause
|
601
|
+
|
602
|
+
# Output only. Additional information about the deploy failure, if available.
|
603
|
+
# Corresponds to the JSON property `failureMessage`
|
604
|
+
# @return [String]
|
605
|
+
attr_accessor :failure_message
|
606
|
+
|
607
|
+
def initialize(**args)
|
608
|
+
update!(**args)
|
609
|
+
end
|
610
|
+
|
611
|
+
# Update properties of this object
|
612
|
+
def update!(**args)
|
613
|
+
@build = args[:build] if args.key?(:build)
|
614
|
+
@failure_cause = args[:failure_cause] if args.key?(:failure_cause)
|
615
|
+
@failure_message = args[:failure_message] if args.key?(:failure_message)
|
616
|
+
end
|
617
|
+
end
|
618
|
+
|
619
|
+
# Deployment job composition.
|
620
|
+
class DeploymentJobs
|
621
|
+
include Google::Apis::Core::Hashable
|
622
|
+
|
623
|
+
# Job represents an operation for a `Rollout`.
|
624
|
+
# Corresponds to the JSON property `deployJob`
|
625
|
+
# @return [Google::Apis::ClouddeployV1::Job]
|
626
|
+
attr_accessor :deploy_job
|
627
|
+
|
628
|
+
# Job represents an operation for a `Rollout`.
|
629
|
+
# Corresponds to the JSON property `verifyJob`
|
630
|
+
# @return [Google::Apis::ClouddeployV1::Job]
|
631
|
+
attr_accessor :verify_job
|
632
|
+
|
633
|
+
def initialize(**args)
|
634
|
+
update!(**args)
|
635
|
+
end
|
636
|
+
|
637
|
+
# Update properties of this object
|
638
|
+
def update!(**args)
|
639
|
+
@deploy_job = args[:deploy_job] if args.key?(:deploy_job)
|
640
|
+
@verify_job = args[:verify_job] if args.key?(:verify_job)
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
519
644
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
520
645
|
# messages in your APIs. A typical example is to use it as the request or the
|
521
646
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -682,6 +807,134 @@ module Google
|
|
682
807
|
end
|
683
808
|
end
|
684
809
|
|
810
|
+
# Job represents an operation for a `Rollout`.
|
811
|
+
class Job
|
812
|
+
include Google::Apis::Core::Hashable
|
813
|
+
|
814
|
+
# A deploy Job.
|
815
|
+
# Corresponds to the JSON property `deployJob`
|
816
|
+
# @return [Google::Apis::ClouddeployV1::DeployJob]
|
817
|
+
attr_accessor :deploy_job
|
818
|
+
|
819
|
+
# Output only. The ID of the Job.
|
820
|
+
# Corresponds to the JSON property `id`
|
821
|
+
# @return [String]
|
822
|
+
attr_accessor :id
|
823
|
+
|
824
|
+
# Output only. The name of the `JobRun` responsible for the most recent
|
825
|
+
# invocation of this Job.
|
826
|
+
# Corresponds to the JSON property `jobRun`
|
827
|
+
# @return [String]
|
828
|
+
attr_accessor :job_run
|
829
|
+
|
830
|
+
# Output only. The current state of the Job.
|
831
|
+
# Corresponds to the JSON property `state`
|
832
|
+
# @return [String]
|
833
|
+
attr_accessor :state
|
834
|
+
|
835
|
+
# A verify Job.
|
836
|
+
# Corresponds to the JSON property `verifyJob`
|
837
|
+
# @return [Google::Apis::ClouddeployV1::VerifyJob]
|
838
|
+
attr_accessor :verify_job
|
839
|
+
|
840
|
+
def initialize(**args)
|
841
|
+
update!(**args)
|
842
|
+
end
|
843
|
+
|
844
|
+
# Update properties of this object
|
845
|
+
def update!(**args)
|
846
|
+
@deploy_job = args[:deploy_job] if args.key?(:deploy_job)
|
847
|
+
@id = args[:id] if args.key?(:id)
|
848
|
+
@job_run = args[:job_run] if args.key?(:job_run)
|
849
|
+
@state = args[:state] if args.key?(:state)
|
850
|
+
@verify_job = args[:verify_job] if args.key?(:verify_job)
|
851
|
+
end
|
852
|
+
end
|
853
|
+
|
854
|
+
# A `JobRun` resource in the Google Cloud Deploy API. A `JobRun` contains
|
855
|
+
# information of a single `Rollout` job evaluation.
|
856
|
+
class JobRun
|
857
|
+
include Google::Apis::Core::Hashable
|
858
|
+
|
859
|
+
# Output only. Time at which the `JobRun` was created.
|
860
|
+
# Corresponds to the JSON property `createTime`
|
861
|
+
# @return [String]
|
862
|
+
attr_accessor :create_time
|
863
|
+
|
864
|
+
# DeployJobRun contains information specific to a deploy `JobRun`.
|
865
|
+
# Corresponds to the JSON property `deployJobRun`
|
866
|
+
# @return [Google::Apis::ClouddeployV1::DeployJobRun]
|
867
|
+
attr_accessor :deploy_job_run
|
868
|
+
|
869
|
+
# Output only. Time at which the `JobRun` ended.
|
870
|
+
# Corresponds to the JSON property `endTime`
|
871
|
+
# @return [String]
|
872
|
+
attr_accessor :end_time
|
873
|
+
|
874
|
+
# Output only. This checksum is computed by the server based on the value of
|
875
|
+
# other fields, and may be sent on update and delete requests to ensure the
|
876
|
+
# client has an up-to-date value before proceeding.
|
877
|
+
# Corresponds to the JSON property `etag`
|
878
|
+
# @return [String]
|
879
|
+
attr_accessor :etag
|
880
|
+
|
881
|
+
# Output only. ID of the `Rollout` job this `JobRun` corresponds to.
|
882
|
+
# Corresponds to the JSON property `jobId`
|
883
|
+
# @return [String]
|
884
|
+
attr_accessor :job_id
|
885
|
+
|
886
|
+
# Optional. Name of the `JobRun`. Format is projects/`project`/locations/`
|
887
|
+
# location`/ deliveryPipelines/`deliveryPipeline`/releases/`releases`/rollouts/ `
|
888
|
+
# rollouts`/jobRuns/`uuid`.
|
889
|
+
# Corresponds to the JSON property `name`
|
890
|
+
# @return [String]
|
891
|
+
attr_accessor :name
|
892
|
+
|
893
|
+
# Output only. ID of the `Rollout` phase this `JobRun` belongs in.
|
894
|
+
# Corresponds to the JSON property `phaseId`
|
895
|
+
# @return [String]
|
896
|
+
attr_accessor :phase_id
|
897
|
+
|
898
|
+
# Output only. Time at which the `JobRun` was started.
|
899
|
+
# Corresponds to the JSON property `startTime`
|
900
|
+
# @return [String]
|
901
|
+
attr_accessor :start_time
|
902
|
+
|
903
|
+
# Output only. The current state of the `JobRun`.
|
904
|
+
# Corresponds to the JSON property `state`
|
905
|
+
# @return [String]
|
906
|
+
attr_accessor :state
|
907
|
+
|
908
|
+
# Output only. Unique identifier of the `JobRun`.
|
909
|
+
# Corresponds to the JSON property `uid`
|
910
|
+
# @return [String]
|
911
|
+
attr_accessor :uid
|
912
|
+
|
913
|
+
# VerifyJobRun contains information specific to a verify `JobRun`.
|
914
|
+
# Corresponds to the JSON property `verifyJobRun`
|
915
|
+
# @return [Google::Apis::ClouddeployV1::VerifyJobRun]
|
916
|
+
attr_accessor :verify_job_run
|
917
|
+
|
918
|
+
def initialize(**args)
|
919
|
+
update!(**args)
|
920
|
+
end
|
921
|
+
|
922
|
+
# Update properties of this object
|
923
|
+
def update!(**args)
|
924
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
925
|
+
@deploy_job_run = args[:deploy_job_run] if args.key?(:deploy_job_run)
|
926
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
927
|
+
@etag = args[:etag] if args.key?(:etag)
|
928
|
+
@job_id = args[:job_id] if args.key?(:job_id)
|
929
|
+
@name = args[:name] if args.key?(:name)
|
930
|
+
@phase_id = args[:phase_id] if args.key?(:phase_id)
|
931
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
932
|
+
@state = args[:state] if args.key?(:state)
|
933
|
+
@uid = args[:uid] if args.key?(:uid)
|
934
|
+
@verify_job_run = args[:verify_job_run] if args.key?(:verify_job_run)
|
935
|
+
end
|
936
|
+
end
|
937
|
+
|
685
938
|
# The response object from `ListDeliveryPipelines`.
|
686
939
|
class ListDeliveryPipelinesResponse
|
687
940
|
include Google::Apis::Core::Hashable
|
@@ -714,6 +967,38 @@ module Google
|
|
714
967
|
end
|
715
968
|
end
|
716
969
|
|
970
|
+
# ListJobRunsResponse is the response object returned by `ListJobRuns`.
|
971
|
+
class ListJobRunsResponse
|
972
|
+
include Google::Apis::Core::Hashable
|
973
|
+
|
974
|
+
# The `JobRun` objects.
|
975
|
+
# Corresponds to the JSON property `jobRuns`
|
976
|
+
# @return [Array<Google::Apis::ClouddeployV1::JobRun>]
|
977
|
+
attr_accessor :job_runs
|
978
|
+
|
979
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
980
|
+
# field is omitted, there are no subsequent pages.
|
981
|
+
# Corresponds to the JSON property `nextPageToken`
|
982
|
+
# @return [String]
|
983
|
+
attr_accessor :next_page_token
|
984
|
+
|
985
|
+
# Locations that could not be reached
|
986
|
+
# Corresponds to the JSON property `unreachable`
|
987
|
+
# @return [Array<String>]
|
988
|
+
attr_accessor :unreachable
|
989
|
+
|
990
|
+
def initialize(**args)
|
991
|
+
update!(**args)
|
992
|
+
end
|
993
|
+
|
994
|
+
# Update properties of this object
|
995
|
+
def update!(**args)
|
996
|
+
@job_runs = args[:job_runs] if args.key?(:job_runs)
|
997
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
998
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
999
|
+
end
|
1000
|
+
end
|
1001
|
+
|
717
1002
|
# The response message for Locations.ListLocations.
|
718
1003
|
class ListLocationsResponse
|
719
1004
|
include Google::Apis::Core::Hashable
|
@@ -907,6 +1192,25 @@ module Google
|
|
907
1192
|
end
|
908
1193
|
end
|
909
1194
|
|
1195
|
+
# Metadata includes information associated with a `Rollout`.
|
1196
|
+
class Metadata
|
1197
|
+
include Google::Apis::Core::Hashable
|
1198
|
+
|
1199
|
+
# CloudRunMetadata contains information from a Cloud Run deployment.
|
1200
|
+
# Corresponds to the JSON property `cloudRun`
|
1201
|
+
# @return [Google::Apis::ClouddeployV1::CloudRunMetadata]
|
1202
|
+
attr_accessor :cloud_run
|
1203
|
+
|
1204
|
+
def initialize(**args)
|
1205
|
+
update!(**args)
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
# Update properties of this object
|
1209
|
+
def update!(**args)
|
1210
|
+
@cloud_run = args[:cloud_run] if args.key?(:cloud_run)
|
1211
|
+
end
|
1212
|
+
end
|
1213
|
+
|
910
1214
|
# This resource represents a long-running operation that is the result of a
|
911
1215
|
# network API call.
|
912
1216
|
class Operation
|
@@ -1028,6 +1332,38 @@ module Google
|
|
1028
1332
|
end
|
1029
1333
|
end
|
1030
1334
|
|
1335
|
+
# Phase represents a collection of jobs that are logically grouped together for
|
1336
|
+
# a `Rollout`.
|
1337
|
+
class Phase
|
1338
|
+
include Google::Apis::Core::Hashable
|
1339
|
+
|
1340
|
+
# Deployment job composition.
|
1341
|
+
# Corresponds to the JSON property `deploymentJobs`
|
1342
|
+
# @return [Google::Apis::ClouddeployV1::DeploymentJobs]
|
1343
|
+
attr_accessor :deployment_jobs
|
1344
|
+
|
1345
|
+
# Output only. The ID of the Phase.
|
1346
|
+
# Corresponds to the JSON property `id`
|
1347
|
+
# @return [String]
|
1348
|
+
attr_accessor :id
|
1349
|
+
|
1350
|
+
# Output only. Current state of the Phase.
|
1351
|
+
# Corresponds to the JSON property `state`
|
1352
|
+
# @return [String]
|
1353
|
+
attr_accessor :state
|
1354
|
+
|
1355
|
+
def initialize(**args)
|
1356
|
+
update!(**args)
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
# Update properties of this object
|
1360
|
+
def update!(**args)
|
1361
|
+
@deployment_jobs = args[:deployment_jobs] if args.key?(:deployment_jobs)
|
1362
|
+
@id = args[:id] if args.key?(:id)
|
1363
|
+
@state = args[:state] if args.key?(:state)
|
1364
|
+
end
|
1365
|
+
end
|
1366
|
+
|
1031
1367
|
# PipelineCondition contains all conditions relevant to a Delivery Pipeline.
|
1032
1368
|
class PipelineCondition
|
1033
1369
|
include Google::Apis::Core::Hashable
|
@@ -1421,6 +1757,44 @@ module Google
|
|
1421
1757
|
end
|
1422
1758
|
end
|
1423
1759
|
|
1760
|
+
# RetryJobRequest is the request object used by `RetryJob`.
|
1761
|
+
class RetryJobRequest
|
1762
|
+
include Google::Apis::Core::Hashable
|
1763
|
+
|
1764
|
+
# Required. The job ID for the Job to retry.
|
1765
|
+
# Corresponds to the JSON property `jobId`
|
1766
|
+
# @return [String]
|
1767
|
+
attr_accessor :job_id
|
1768
|
+
|
1769
|
+
# Required. The phase ID the Job to retry belongs to.
|
1770
|
+
# Corresponds to the JSON property `phaseId`
|
1771
|
+
# @return [String]
|
1772
|
+
attr_accessor :phase_id
|
1773
|
+
|
1774
|
+
def initialize(**args)
|
1775
|
+
update!(**args)
|
1776
|
+
end
|
1777
|
+
|
1778
|
+
# Update properties of this object
|
1779
|
+
def update!(**args)
|
1780
|
+
@job_id = args[:job_id] if args.key?(:job_id)
|
1781
|
+
@phase_id = args[:phase_id] if args.key?(:phase_id)
|
1782
|
+
end
|
1783
|
+
end
|
1784
|
+
|
1785
|
+
# The response object from 'RetryJob'.
|
1786
|
+
class RetryJobResponse
|
1787
|
+
include Google::Apis::Core::Hashable
|
1788
|
+
|
1789
|
+
def initialize(**args)
|
1790
|
+
update!(**args)
|
1791
|
+
end
|
1792
|
+
|
1793
|
+
# Update properties of this object
|
1794
|
+
def update!(**args)
|
1795
|
+
end
|
1796
|
+
end
|
1797
|
+
|
1424
1798
|
# A `Rollout` resource in the Google Cloud Deploy API. A `Rollout` contains
|
1425
1799
|
# information around a specific deployment to a `Target`.
|
1426
1800
|
class Rollout
|
@@ -1504,6 +1878,11 @@ module Google
|
|
1504
1878
|
# @return [Hash<String,String>]
|
1505
1879
|
attr_accessor :labels
|
1506
1880
|
|
1881
|
+
# Metadata includes information associated with a `Rollout`.
|
1882
|
+
# Corresponds to the JSON property `metadata`
|
1883
|
+
# @return [Google::Apis::ClouddeployV1::Metadata]
|
1884
|
+
attr_accessor :metadata
|
1885
|
+
|
1507
1886
|
# Optional. Name of the `Rollout`. Format is projects/`project`/ locations/`
|
1508
1887
|
# location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/rollouts/a-
|
1509
1888
|
# z`0,62`.
|
@@ -1511,6 +1890,11 @@ module Google
|
|
1511
1890
|
# @return [String]
|
1512
1891
|
attr_accessor :name
|
1513
1892
|
|
1893
|
+
# Output only. The phases that represent the workflows of this `Rollout`.
|
1894
|
+
# Corresponds to the JSON property `phases`
|
1895
|
+
# @return [Array<Google::Apis::ClouddeployV1::Phase>]
|
1896
|
+
attr_accessor :phases
|
1897
|
+
|
1514
1898
|
# Output only. Current state of the `Rollout`.
|
1515
1899
|
# Corresponds to the JSON property `state`
|
1516
1900
|
# @return [String]
|
@@ -1545,7 +1929,9 @@ module Google
|
|
1545
1929
|
@etag = args[:etag] if args.key?(:etag)
|
1546
1930
|
@failure_reason = args[:failure_reason] if args.key?(:failure_reason)
|
1547
1931
|
@labels = args[:labels] if args.key?(:labels)
|
1932
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1548
1933
|
@name = args[:name] if args.key?(:name)
|
1934
|
+
@phases = args[:phases] if args.key?(:phases)
|
1549
1935
|
@state = args[:state] if args.key?(:state)
|
1550
1936
|
@target_id = args[:target_id] if args.key?(:target_id)
|
1551
1937
|
@uid = args[:uid] if args.key?(:uid)
|
@@ -1717,6 +2103,11 @@ module Google
|
|
1717
2103
|
# @return [Array<String>]
|
1718
2104
|
attr_accessor :profiles
|
1719
2105
|
|
2106
|
+
# Strategy contains deployment strategy information.
|
2107
|
+
# Corresponds to the JSON property `strategy`
|
2108
|
+
# @return [Google::Apis::ClouddeployV1::Strategy]
|
2109
|
+
attr_accessor :strategy
|
2110
|
+
|
1720
2111
|
# The target_id to which this stage points. This field refers exclusively to the
|
1721
2112
|
# last segment of a target name. For example, this field would just be `my-
|
1722
2113
|
# target` (rather than `projects/project/locations/location/targets/my-target`).
|
@@ -1733,10 +2124,31 @@ module Google
|
|
1733
2124
|
# Update properties of this object
|
1734
2125
|
def update!(**args)
|
1735
2126
|
@profiles = args[:profiles] if args.key?(:profiles)
|
2127
|
+
@strategy = args[:strategy] if args.key?(:strategy)
|
1736
2128
|
@target_id = args[:target_id] if args.key?(:target_id)
|
1737
2129
|
end
|
1738
2130
|
end
|
1739
2131
|
|
2132
|
+
# Standard represents the standard deployment strategy.
|
2133
|
+
class Standard
|
2134
|
+
include Google::Apis::Core::Hashable
|
2135
|
+
|
2136
|
+
# Whether to verify a deployment.
|
2137
|
+
# Corresponds to the JSON property `verify`
|
2138
|
+
# @return [Boolean]
|
2139
|
+
attr_accessor :verify
|
2140
|
+
alias_method :verify?, :verify
|
2141
|
+
|
2142
|
+
def initialize(**args)
|
2143
|
+
update!(**args)
|
2144
|
+
end
|
2145
|
+
|
2146
|
+
# Update properties of this object
|
2147
|
+
def update!(**args)
|
2148
|
+
@verify = args[:verify] if args.key?(:verify)
|
2149
|
+
end
|
2150
|
+
end
|
2151
|
+
|
1740
2152
|
# The `Status` type defines a logical error model that is suitable for different
|
1741
2153
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1742
2154
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -1776,6 +2188,25 @@ module Google
|
|
1776
2188
|
end
|
1777
2189
|
end
|
1778
2190
|
|
2191
|
+
# Strategy contains deployment strategy information.
|
2192
|
+
class Strategy
|
2193
|
+
include Google::Apis::Core::Hashable
|
2194
|
+
|
2195
|
+
# Standard represents the standard deployment strategy.
|
2196
|
+
# Corresponds to the JSON property `standard`
|
2197
|
+
# @return [Google::Apis::ClouddeployV1::Standard]
|
2198
|
+
attr_accessor :standard
|
2199
|
+
|
2200
|
+
def initialize(**args)
|
2201
|
+
update!(**args)
|
2202
|
+
end
|
2203
|
+
|
2204
|
+
# Update properties of this object
|
2205
|
+
def update!(**args)
|
2206
|
+
@standard = args[:standard] if args.key?(:standard)
|
2207
|
+
end
|
2208
|
+
end
|
2209
|
+
|
1779
2210
|
# A `Target` resource in the Google Cloud Deploy API. A `Target` defines a
|
1780
2211
|
# location to which a Skaffold configuration can be deployed.
|
1781
2212
|
class Target
|
@@ -1848,6 +2279,11 @@ module Google
|
|
1848
2279
|
attr_accessor :require_approval
|
1849
2280
|
alias_method :require_approval?, :require_approval
|
1850
2281
|
|
2282
|
+
# Information specifying where to deploy a Cloud Run Service.
|
2283
|
+
# Corresponds to the JSON property `run`
|
2284
|
+
# @return [Google::Apis::ClouddeployV1::CloudRunLocation]
|
2285
|
+
attr_accessor :run
|
2286
|
+
|
1851
2287
|
# Output only. Resource id of the `Target`.
|
1852
2288
|
# Corresponds to the JSON property `targetId`
|
1853
2289
|
# @return [String]
|
@@ -1879,6 +2315,7 @@ module Google
|
|
1879
2315
|
@labels = args[:labels] if args.key?(:labels)
|
1880
2316
|
@name = args[:name] if args.key?(:name)
|
1881
2317
|
@require_approval = args[:require_approval] if args.key?(:require_approval)
|
2318
|
+
@run = args[:run] if args.key?(:run)
|
1882
2319
|
@target_id = args[:target_id] if args.key?(:target_id)
|
1883
2320
|
@uid = args[:uid] if args.key?(:uid)
|
1884
2321
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -1962,6 +2399,11 @@ module Google
|
|
1962
2399
|
# @return [String]
|
1963
2400
|
attr_accessor :failure_cause
|
1964
2401
|
|
2402
|
+
# Output only. Additional information about the render failure, if available.
|
2403
|
+
# Corresponds to the JSON property `failureMessage`
|
2404
|
+
# @return [String]
|
2405
|
+
attr_accessor :failure_message
|
2406
|
+
|
1965
2407
|
# Output only. The resource name of the Cloud Build `Build` object that is used
|
1966
2408
|
# to render the manifest for this target. Format is `projects/`project`/
|
1967
2409
|
# locations/`location`/builds/`build``.
|
@@ -1981,6 +2423,7 @@ module Google
|
|
1981
2423
|
# Update properties of this object
|
1982
2424
|
def update!(**args)
|
1983
2425
|
@failure_cause = args[:failure_cause] if args.key?(:failure_cause)
|
2426
|
+
@failure_message = args[:failure_message] if args.key?(:failure_message)
|
1984
2427
|
@rendering_build = args[:rendering_build] if args.key?(:rendering_build)
|
1985
2428
|
@rendering_state = args[:rendering_state] if args.key?(:rendering_state)
|
1986
2429
|
end
|
@@ -2059,6 +2502,65 @@ module Google
|
|
2059
2502
|
@permissions = args[:permissions] if args.key?(:permissions)
|
2060
2503
|
end
|
2061
2504
|
end
|
2505
|
+
|
2506
|
+
# A verify Job.
|
2507
|
+
class VerifyJob
|
2508
|
+
include Google::Apis::Core::Hashable
|
2509
|
+
|
2510
|
+
def initialize(**args)
|
2511
|
+
update!(**args)
|
2512
|
+
end
|
2513
|
+
|
2514
|
+
# Update properties of this object
|
2515
|
+
def update!(**args)
|
2516
|
+
end
|
2517
|
+
end
|
2518
|
+
|
2519
|
+
# VerifyJobRun contains information specific to a verify `JobRun`.
|
2520
|
+
class VerifyJobRun
|
2521
|
+
include Google::Apis::Core::Hashable
|
2522
|
+
|
2523
|
+
# Output only. URI of a directory containing the verify artifacts. This contains
|
2524
|
+
# the Skaffold event log.
|
2525
|
+
# Corresponds to the JSON property `artifactUri`
|
2526
|
+
# @return [String]
|
2527
|
+
attr_accessor :artifact_uri
|
2528
|
+
|
2529
|
+
# Output only. The resource name of the Cloud Build `Build` object that is used
|
2530
|
+
# to verify. Format is projects/`project`/locations/`location`/builds/`build`.
|
2531
|
+
# Corresponds to the JSON property `build`
|
2532
|
+
# @return [String]
|
2533
|
+
attr_accessor :build
|
2534
|
+
|
2535
|
+
# Output only. File path of the Skaffold event log relative to the artifact URI.
|
2536
|
+
# Corresponds to the JSON property `eventLogPath`
|
2537
|
+
# @return [String]
|
2538
|
+
attr_accessor :event_log_path
|
2539
|
+
|
2540
|
+
# Output only. The reason the verify failed. This will always be unspecified
|
2541
|
+
# while the verify is in progress or if it succeeded.
|
2542
|
+
# Corresponds to the JSON property `failureCause`
|
2543
|
+
# @return [String]
|
2544
|
+
attr_accessor :failure_cause
|
2545
|
+
|
2546
|
+
# Output only. Additional information about the verify failure, if available.
|
2547
|
+
# Corresponds to the JSON property `failureMessage`
|
2548
|
+
# @return [String]
|
2549
|
+
attr_accessor :failure_message
|
2550
|
+
|
2551
|
+
def initialize(**args)
|
2552
|
+
update!(**args)
|
2553
|
+
end
|
2554
|
+
|
2555
|
+
# Update properties of this object
|
2556
|
+
def update!(**args)
|
2557
|
+
@artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri)
|
2558
|
+
@build = args[:build] if args.key?(:build)
|
2559
|
+
@event_log_path = args[:event_log_path] if args.key?(:event_log_path)
|
2560
|
+
@failure_cause = args[:failure_cause] if args.key?(:failure_cause)
|
2561
|
+
@failure_message = args[:failure_message] if args.key?(:failure_message)
|
2562
|
+
end
|
2563
|
+
end
|
2062
2564
|
end
|
2063
2565
|
end
|
2064
2566
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ClouddeployV1
|
18
18
|
# Version of the google-apis-clouddeploy_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220909"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,18 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class CloudRunLocation
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class CloudRunMetadata
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
85
97
|
class Config
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
99
|
|
@@ -112,6 +124,24 @@ module Google
|
|
112
124
|
include Google::Apis::Core::JsonObjectSupport
|
113
125
|
end
|
114
126
|
|
127
|
+
class DeployJob
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class DeployJobRun
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class DeploymentJobs
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
115
145
|
class Empty
|
116
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
147
|
|
@@ -136,12 +166,30 @@ module Google
|
|
136
166
|
include Google::Apis::Core::JsonObjectSupport
|
137
167
|
end
|
138
168
|
|
169
|
+
class Job
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class JobRun
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
139
181
|
class ListDeliveryPipelinesResponse
|
140
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
183
|
|
142
184
|
include Google::Apis::Core::JsonObjectSupport
|
143
185
|
end
|
144
186
|
|
187
|
+
class ListJobRunsResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
145
193
|
class ListLocationsResponse
|
146
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
195
|
|
@@ -178,6 +226,12 @@ module Google
|
|
178
226
|
include Google::Apis::Core::JsonObjectSupport
|
179
227
|
end
|
180
228
|
|
229
|
+
class Metadata
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
181
235
|
class Operation
|
182
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
237
|
|
@@ -190,6 +244,12 @@ module Google
|
|
190
244
|
include Google::Apis::Core::JsonObjectSupport
|
191
245
|
end
|
192
246
|
|
247
|
+
class Phase
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
193
253
|
class PipelineCondition
|
194
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
255
|
|
@@ -232,6 +292,18 @@ module Google
|
|
232
292
|
include Google::Apis::Core::JsonObjectSupport
|
233
293
|
end
|
234
294
|
|
295
|
+
class RetryJobRequest
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class RetryJobResponse
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
235
307
|
class Rollout
|
236
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
309
|
|
@@ -268,12 +340,24 @@ module Google
|
|
268
340
|
include Google::Apis::Core::JsonObjectSupport
|
269
341
|
end
|
270
342
|
|
343
|
+
class Standard
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
271
349
|
class Status
|
272
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
351
|
|
274
352
|
include Google::Apis::Core::JsonObjectSupport
|
275
353
|
end
|
276
354
|
|
355
|
+
class Strategy
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
277
361
|
class Target
|
278
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
363
|
|
@@ -316,6 +400,18 @@ module Google
|
|
316
400
|
include Google::Apis::Core::JsonObjectSupport
|
317
401
|
end
|
318
402
|
|
403
|
+
class VerifyJob
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
409
|
+
class VerifyJobRun
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
319
415
|
class AbandonReleaseRequest
|
320
416
|
# @private
|
321
417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -389,6 +485,22 @@ module Google
|
|
389
485
|
end
|
390
486
|
end
|
391
487
|
|
488
|
+
class CloudRunLocation
|
489
|
+
# @private
|
490
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
491
|
+
property :location, as: 'location'
|
492
|
+
end
|
493
|
+
end
|
494
|
+
|
495
|
+
class CloudRunMetadata
|
496
|
+
# @private
|
497
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
498
|
+
property :revision, as: 'revision'
|
499
|
+
property :service, as: 'service'
|
500
|
+
collection :service_urls, as: 'serviceUrls'
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
392
504
|
class Config
|
393
505
|
# @private
|
394
506
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -444,6 +556,31 @@ module Google
|
|
444
556
|
end
|
445
557
|
end
|
446
558
|
|
559
|
+
class DeployJob
|
560
|
+
# @private
|
561
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
565
|
+
class DeployJobRun
|
566
|
+
# @private
|
567
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
568
|
+
property :build, as: 'build'
|
569
|
+
property :failure_cause, as: 'failureCause'
|
570
|
+
property :failure_message, as: 'failureMessage'
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
574
|
+
class DeploymentJobs
|
575
|
+
# @private
|
576
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
577
|
+
property :deploy_job, as: 'deployJob', class: Google::Apis::ClouddeployV1::Job, decorator: Google::Apis::ClouddeployV1::Job::Representation
|
578
|
+
|
579
|
+
property :verify_job, as: 'verifyJob', class: Google::Apis::ClouddeployV1::Job, decorator: Google::Apis::ClouddeployV1::Job::Representation
|
580
|
+
|
581
|
+
end
|
582
|
+
end
|
583
|
+
|
447
584
|
class Empty
|
448
585
|
# @private
|
449
586
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -483,6 +620,38 @@ module Google
|
|
483
620
|
end
|
484
621
|
end
|
485
622
|
|
623
|
+
class Job
|
624
|
+
# @private
|
625
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
626
|
+
property :deploy_job, as: 'deployJob', class: Google::Apis::ClouddeployV1::DeployJob, decorator: Google::Apis::ClouddeployV1::DeployJob::Representation
|
627
|
+
|
628
|
+
property :id, as: 'id'
|
629
|
+
property :job_run, as: 'jobRun'
|
630
|
+
property :state, as: 'state'
|
631
|
+
property :verify_job, as: 'verifyJob', class: Google::Apis::ClouddeployV1::VerifyJob, decorator: Google::Apis::ClouddeployV1::VerifyJob::Representation
|
632
|
+
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
class JobRun
|
637
|
+
# @private
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
639
|
+
property :create_time, as: 'createTime'
|
640
|
+
property :deploy_job_run, as: 'deployJobRun', class: Google::Apis::ClouddeployV1::DeployJobRun, decorator: Google::Apis::ClouddeployV1::DeployJobRun::Representation
|
641
|
+
|
642
|
+
property :end_time, as: 'endTime'
|
643
|
+
property :etag, as: 'etag'
|
644
|
+
property :job_id, as: 'jobId'
|
645
|
+
property :name, as: 'name'
|
646
|
+
property :phase_id, as: 'phaseId'
|
647
|
+
property :start_time, as: 'startTime'
|
648
|
+
property :state, as: 'state'
|
649
|
+
property :uid, as: 'uid'
|
650
|
+
property :verify_job_run, as: 'verifyJobRun', class: Google::Apis::ClouddeployV1::VerifyJobRun, decorator: Google::Apis::ClouddeployV1::VerifyJobRun::Representation
|
651
|
+
|
652
|
+
end
|
653
|
+
end
|
654
|
+
|
486
655
|
class ListDeliveryPipelinesResponse
|
487
656
|
# @private
|
488
657
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -493,6 +662,16 @@ module Google
|
|
493
662
|
end
|
494
663
|
end
|
495
664
|
|
665
|
+
class ListJobRunsResponse
|
666
|
+
# @private
|
667
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
668
|
+
collection :job_runs, as: 'jobRuns', class: Google::Apis::ClouddeployV1::JobRun, decorator: Google::Apis::ClouddeployV1::JobRun::Representation
|
669
|
+
|
670
|
+
property :next_page_token, as: 'nextPageToken'
|
671
|
+
collection :unreachable, as: 'unreachable'
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
496
675
|
class ListLocationsResponse
|
497
676
|
# @private
|
498
677
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -552,6 +731,14 @@ module Google
|
|
552
731
|
end
|
553
732
|
end
|
554
733
|
|
734
|
+
class Metadata
|
735
|
+
# @private
|
736
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
737
|
+
property :cloud_run, as: 'cloudRun', class: Google::Apis::ClouddeployV1::CloudRunMetadata, decorator: Google::Apis::ClouddeployV1::CloudRunMetadata::Representation
|
738
|
+
|
739
|
+
end
|
740
|
+
end
|
741
|
+
|
555
742
|
class Operation
|
556
743
|
# @private
|
557
744
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -577,6 +764,16 @@ module Google
|
|
577
764
|
end
|
578
765
|
end
|
579
766
|
|
767
|
+
class Phase
|
768
|
+
# @private
|
769
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
770
|
+
property :deployment_jobs, as: 'deploymentJobs', class: Google::Apis::ClouddeployV1::DeploymentJobs, decorator: Google::Apis::ClouddeployV1::DeploymentJobs::Representation
|
771
|
+
|
772
|
+
property :id, as: 'id'
|
773
|
+
property :state, as: 'state'
|
774
|
+
end
|
775
|
+
end
|
776
|
+
|
580
777
|
class PipelineCondition
|
581
778
|
# @private
|
582
779
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -663,6 +860,20 @@ module Google
|
|
663
860
|
end
|
664
861
|
end
|
665
862
|
|
863
|
+
class RetryJobRequest
|
864
|
+
# @private
|
865
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
866
|
+
property :job_id, as: 'jobId'
|
867
|
+
property :phase_id, as: 'phaseId'
|
868
|
+
end
|
869
|
+
end
|
870
|
+
|
871
|
+
class RetryJobResponse
|
872
|
+
# @private
|
873
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
874
|
+
end
|
875
|
+
end
|
876
|
+
|
666
877
|
class Rollout
|
667
878
|
# @private
|
668
879
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -679,7 +890,11 @@ module Google
|
|
679
890
|
property :etag, as: 'etag'
|
680
891
|
property :failure_reason, as: 'failureReason'
|
681
892
|
hash :labels, as: 'labels'
|
893
|
+
property :metadata, as: 'metadata', class: Google::Apis::ClouddeployV1::Metadata, decorator: Google::Apis::ClouddeployV1::Metadata::Representation
|
894
|
+
|
682
895
|
property :name, as: 'name'
|
896
|
+
collection :phases, as: 'phases', class: Google::Apis::ClouddeployV1::Phase, decorator: Google::Apis::ClouddeployV1::Phase::Representation
|
897
|
+
|
683
898
|
property :state, as: 'state'
|
684
899
|
property :target_id, as: 'targetId'
|
685
900
|
property :uid, as: 'uid'
|
@@ -728,10 +943,19 @@ module Google
|
|
728
943
|
# @private
|
729
944
|
class Representation < Google::Apis::Core::JsonRepresentation
|
730
945
|
collection :profiles, as: 'profiles'
|
946
|
+
property :strategy, as: 'strategy', class: Google::Apis::ClouddeployV1::Strategy, decorator: Google::Apis::ClouddeployV1::Strategy::Representation
|
947
|
+
|
731
948
|
property :target_id, as: 'targetId'
|
732
949
|
end
|
733
950
|
end
|
734
951
|
|
952
|
+
class Standard
|
953
|
+
# @private
|
954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
955
|
+
property :verify, as: 'verify'
|
956
|
+
end
|
957
|
+
end
|
958
|
+
|
735
959
|
class Status
|
736
960
|
# @private
|
737
961
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -741,6 +965,14 @@ module Google
|
|
741
965
|
end
|
742
966
|
end
|
743
967
|
|
968
|
+
class Strategy
|
969
|
+
# @private
|
970
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
971
|
+
property :standard, as: 'standard', class: Google::Apis::ClouddeployV1::Standard, decorator: Google::Apis::ClouddeployV1::Standard::Representation
|
972
|
+
|
973
|
+
end
|
974
|
+
end
|
975
|
+
|
744
976
|
class Target
|
745
977
|
# @private
|
746
978
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -757,6 +989,8 @@ module Google
|
|
757
989
|
hash :labels, as: 'labels'
|
758
990
|
property :name, as: 'name'
|
759
991
|
property :require_approval, as: 'requireApproval'
|
992
|
+
property :run, as: 'run', class: Google::Apis::ClouddeployV1::CloudRunLocation, decorator: Google::Apis::ClouddeployV1::CloudRunLocation::Representation
|
993
|
+
|
760
994
|
property :target_id, as: 'targetId'
|
761
995
|
property :uid, as: 'uid'
|
762
996
|
property :update_time, as: 'updateTime'
|
@@ -785,6 +1019,7 @@ module Google
|
|
785
1019
|
# @private
|
786
1020
|
class Representation < Google::Apis::Core::JsonRepresentation
|
787
1021
|
property :failure_cause, as: 'failureCause'
|
1022
|
+
property :failure_message, as: 'failureMessage'
|
788
1023
|
property :rendering_build, as: 'renderingBuild'
|
789
1024
|
property :rendering_state, as: 'renderingState'
|
790
1025
|
end
|
@@ -812,6 +1047,23 @@ module Google
|
|
812
1047
|
collection :permissions, as: 'permissions'
|
813
1048
|
end
|
814
1049
|
end
|
1050
|
+
|
1051
|
+
class VerifyJob
|
1052
|
+
# @private
|
1053
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1054
|
+
end
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
class VerifyJobRun
|
1058
|
+
# @private
|
1059
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1060
|
+
property :artifact_uri, as: 'artifactUri'
|
1061
|
+
property :build, as: 'build'
|
1062
|
+
property :event_log_path, as: 'eventLogPath'
|
1063
|
+
property :failure_cause, as: 'failureCause'
|
1064
|
+
property :failure_message, as: 'failureMessage'
|
1065
|
+
end
|
1066
|
+
end
|
815
1067
|
end
|
816
1068
|
end
|
817
1069
|
end
|
@@ -868,6 +868,121 @@ module Google
|
|
868
868
|
execute_or_queue_command(command, &block)
|
869
869
|
end
|
870
870
|
|
871
|
+
# Retries the specified Job in a Rollout.
|
872
|
+
# @param [String] rollout
|
873
|
+
# Required. Name of the Rollout. Format is projects/`project`/locations/`
|
874
|
+
# location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/rollouts/`
|
875
|
+
# rollout`.
|
876
|
+
# @param [Google::Apis::ClouddeployV1::RetryJobRequest] retry_job_request_object
|
877
|
+
# @param [String] fields
|
878
|
+
# Selector specifying which fields to include in a partial response.
|
879
|
+
# @param [String] quota_user
|
880
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
881
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
882
|
+
# @param [Google::Apis::RequestOptions] options
|
883
|
+
# Request-specific options
|
884
|
+
#
|
885
|
+
# @yield [result, err] Result & error if block supplied
|
886
|
+
# @yieldparam result [Google::Apis::ClouddeployV1::RetryJobResponse] parsed result object
|
887
|
+
# @yieldparam err [StandardError] error object if request failed
|
888
|
+
#
|
889
|
+
# @return [Google::Apis::ClouddeployV1::RetryJobResponse]
|
890
|
+
#
|
891
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
892
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
893
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
894
|
+
def retry_rollout_job(rollout, retry_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
895
|
+
command = make_simple_command(:post, 'v1/{+rollout}:retryJob', options)
|
896
|
+
command.request_representation = Google::Apis::ClouddeployV1::RetryJobRequest::Representation
|
897
|
+
command.request_object = retry_job_request_object
|
898
|
+
command.response_representation = Google::Apis::ClouddeployV1::RetryJobResponse::Representation
|
899
|
+
command.response_class = Google::Apis::ClouddeployV1::RetryJobResponse
|
900
|
+
command.params['rollout'] = rollout unless rollout.nil?
|
901
|
+
command.query['fields'] = fields unless fields.nil?
|
902
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
903
|
+
execute_or_queue_command(command, &block)
|
904
|
+
end
|
905
|
+
|
906
|
+
# Gets details of a single JobRun.
|
907
|
+
# @param [String] name
|
908
|
+
# Required. Name of the `JobRun`. Format must be projects/`project_id`/locations/
|
909
|
+
# `location_name`/deliveryPipelines/`pipeline_name`/releases/`release_name`/
|
910
|
+
# rollouts/`rollout_name`/jobRuns/`job_run_name`.
|
911
|
+
# @param [String] fields
|
912
|
+
# Selector specifying which fields to include in a partial response.
|
913
|
+
# @param [String] quota_user
|
914
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
915
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
916
|
+
# @param [Google::Apis::RequestOptions] options
|
917
|
+
# Request-specific options
|
918
|
+
#
|
919
|
+
# @yield [result, err] Result & error if block supplied
|
920
|
+
# @yieldparam result [Google::Apis::ClouddeployV1::JobRun] parsed result object
|
921
|
+
# @yieldparam err [StandardError] error object if request failed
|
922
|
+
#
|
923
|
+
# @return [Google::Apis::ClouddeployV1::JobRun]
|
924
|
+
#
|
925
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
926
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
927
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
928
|
+
def get_project_location_delivery_pipeline_release_rollout_job_run(name, fields: nil, quota_user: nil, options: nil, &block)
|
929
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
930
|
+
command.response_representation = Google::Apis::ClouddeployV1::JobRun::Representation
|
931
|
+
command.response_class = Google::Apis::ClouddeployV1::JobRun
|
932
|
+
command.params['name'] = name unless name.nil?
|
933
|
+
command.query['fields'] = fields unless fields.nil?
|
934
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
935
|
+
execute_or_queue_command(command, &block)
|
936
|
+
end
|
937
|
+
|
938
|
+
# Lists JobRuns in a given project and location.
|
939
|
+
# @param [String] parent
|
940
|
+
# Required. The `Rollout` which owns this collection of `JobRun` objects.
|
941
|
+
# @param [String] filter
|
942
|
+
# Optional. Filter results to be returned. See https://google.aip.dev/160 for
|
943
|
+
# more details.
|
944
|
+
# @param [String] order_by
|
945
|
+
# Optional. Field to sort by. See https://google.aip.dev/132#ordering for more
|
946
|
+
# details.
|
947
|
+
# @param [Fixnum] page_size
|
948
|
+
# Optional. The maximum number of `JobRun` objects to return. The service may
|
949
|
+
# return fewer than this value. If unspecified, at most 50 `JobRun` objects will
|
950
|
+
# be returned. The maximum value is 1000; values above 1000 will be set to 1000.
|
951
|
+
# @param [String] page_token
|
952
|
+
# Optional. A page token, received from a previous `ListJobRuns` call. Provide
|
953
|
+
# this to retrieve the subsequent page. When paginating, all other provided
|
954
|
+
# parameters match the call that provided the page token.
|
955
|
+
# @param [String] fields
|
956
|
+
# Selector specifying which fields to include in a partial response.
|
957
|
+
# @param [String] quota_user
|
958
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
959
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
960
|
+
# @param [Google::Apis::RequestOptions] options
|
961
|
+
# Request-specific options
|
962
|
+
#
|
963
|
+
# @yield [result, err] Result & error if block supplied
|
964
|
+
# @yieldparam result [Google::Apis::ClouddeployV1::ListJobRunsResponse] parsed result object
|
965
|
+
# @yieldparam err [StandardError] error object if request failed
|
966
|
+
#
|
967
|
+
# @return [Google::Apis::ClouddeployV1::ListJobRunsResponse]
|
968
|
+
#
|
969
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
970
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
971
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
972
|
+
def list_project_location_delivery_pipeline_release_rollout_job_runs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
973
|
+
command = make_simple_command(:get, 'v1/{+parent}/jobRuns', options)
|
974
|
+
command.response_representation = Google::Apis::ClouddeployV1::ListJobRunsResponse::Representation
|
975
|
+
command.response_class = Google::Apis::ClouddeployV1::ListJobRunsResponse
|
976
|
+
command.params['parent'] = parent unless parent.nil?
|
977
|
+
command.query['filter'] = filter unless filter.nil?
|
978
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
979
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
980
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
981
|
+
command.query['fields'] = fields unless fields.nil?
|
982
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
983
|
+
execute_or_queue_command(command, &block)
|
984
|
+
end
|
985
|
+
|
871
986
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
872
987
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
873
988
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-clouddeploy_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.7.2
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.7.2
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.15.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|