google-apis-clouddeploy_v1 0.14.0 → 0.16.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: 6cabf4a39ba15acfb7aaa72cd17da039fdd500561e6bcf5b52256844b84bd229
|
4
|
+
data.tar.gz: fbb3e62948861dac36497f9c9abea9024fea4fb8b126fc41aa501288fcf6e56d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 531203d5b0d26df84daafecbc22121a2e9c518968253419f79720c1ebb676415198dca06acd6c6ad3a1f56b67d0f2ec3400dd1d6ff103d114a775b64b4d6aa64
|
7
|
+
data.tar.gz: cd36cc1b90070d169dd68d79ff3ae225f3b954b45c4f0047906a485efc79689e8baf9d16d8e540ee6cb5ed163ebddc192e5ecdde97805cfb95f6ca721976f866
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-clouddeploy_v1
|
2
2
|
|
3
|
+
### v0.16.0 (2022-09-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220915
|
6
|
+
* Regenerated using generator version 0.10.0
|
7
|
+
|
8
|
+
### v0.15.0 (2022-09-17)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220909
|
11
|
+
|
3
12
|
### v0.14.0 (2022-09-10)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20220906
|
@@ -292,8 +292,8 @@ module Google
|
|
292
292
|
class CloudRunLocation
|
293
293
|
include Google::Apis::Core::Hashable
|
294
294
|
|
295
|
-
# Required. The location
|
296
|
-
#
|
295
|
+
# Required. The location for the Cloud Run Service. Format must be `projects/`
|
296
|
+
# project`/locations/`location``.
|
297
297
|
# Corresponds to the JSON property `location`
|
298
298
|
# @return [String]
|
299
299
|
attr_accessor :location
|
@@ -450,8 +450,7 @@ module Google
|
|
450
450
|
include Google::Apis::Core::Hashable
|
451
451
|
|
452
452
|
# User annotations. These attributes can only be set and used by the user, and
|
453
|
-
# not by Google Cloud Deploy.
|
454
|
-
# more details such as format and size limitations.
|
453
|
+
# not by Google Cloud Deploy.
|
455
454
|
# Corresponds to the JSON property `annotations`
|
456
455
|
# @return [Hash<String,String>]
|
457
456
|
attr_accessor :annotations
|
@@ -570,6 +569,104 @@ module Google
|
|
570
569
|
end
|
571
570
|
end
|
572
571
|
|
572
|
+
# A deploy Job.
|
573
|
+
class DeployJob
|
574
|
+
include Google::Apis::Core::Hashable
|
575
|
+
|
576
|
+
def initialize(**args)
|
577
|
+
update!(**args)
|
578
|
+
end
|
579
|
+
|
580
|
+
# Update properties of this object
|
581
|
+
def update!(**args)
|
582
|
+
end
|
583
|
+
end
|
584
|
+
|
585
|
+
# DeployJobRun contains information specific to a deploy `JobRun`.
|
586
|
+
class DeployJobRun
|
587
|
+
include Google::Apis::Core::Hashable
|
588
|
+
|
589
|
+
# Output only. The resource name of the Cloud Build `Build` object that is used
|
590
|
+
# to deploy. Format is projects/`project`/locations/`location`/builds/`build`.
|
591
|
+
# Corresponds to the JSON property `build`
|
592
|
+
# @return [String]
|
593
|
+
attr_accessor :build
|
594
|
+
|
595
|
+
# Output only. The reason the deploy failed. This will always be unspecified
|
596
|
+
# while the deploy is in progress or if it succeeded.
|
597
|
+
# Corresponds to the JSON property `failureCause`
|
598
|
+
# @return [String]
|
599
|
+
attr_accessor :failure_cause
|
600
|
+
|
601
|
+
# Output only. Additional information about the deploy failure, if available.
|
602
|
+
# Corresponds to the JSON property `failureMessage`
|
603
|
+
# @return [String]
|
604
|
+
attr_accessor :failure_message
|
605
|
+
|
606
|
+
# DeployJobRunMetadata surfaces information associated with a `DeployJobRun` to
|
607
|
+
# the user.
|
608
|
+
# Corresponds to the JSON property `metadata`
|
609
|
+
# @return [Google::Apis::ClouddeployV1::DeployJobRunMetadata]
|
610
|
+
attr_accessor :metadata
|
611
|
+
|
612
|
+
def initialize(**args)
|
613
|
+
update!(**args)
|
614
|
+
end
|
615
|
+
|
616
|
+
# Update properties of this object
|
617
|
+
def update!(**args)
|
618
|
+
@build = args[:build] if args.key?(:build)
|
619
|
+
@failure_cause = args[:failure_cause] if args.key?(:failure_cause)
|
620
|
+
@failure_message = args[:failure_message] if args.key?(:failure_message)
|
621
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
622
|
+
end
|
623
|
+
end
|
624
|
+
|
625
|
+
# DeployJobRunMetadata surfaces information associated with a `DeployJobRun` to
|
626
|
+
# the user.
|
627
|
+
class DeployJobRunMetadata
|
628
|
+
include Google::Apis::Core::Hashable
|
629
|
+
|
630
|
+
# CloudRunMetadata contains information from a Cloud Run deployment.
|
631
|
+
# Corresponds to the JSON property `cloudRun`
|
632
|
+
# @return [Google::Apis::ClouddeployV1::CloudRunMetadata]
|
633
|
+
attr_accessor :cloud_run
|
634
|
+
|
635
|
+
def initialize(**args)
|
636
|
+
update!(**args)
|
637
|
+
end
|
638
|
+
|
639
|
+
# Update properties of this object
|
640
|
+
def update!(**args)
|
641
|
+
@cloud_run = args[:cloud_run] if args.key?(:cloud_run)
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
645
|
+
# Deployment job composition.
|
646
|
+
class DeploymentJobs
|
647
|
+
include Google::Apis::Core::Hashable
|
648
|
+
|
649
|
+
# Job represents an operation for a `Rollout`.
|
650
|
+
# Corresponds to the JSON property `deployJob`
|
651
|
+
# @return [Google::Apis::ClouddeployV1::Job]
|
652
|
+
attr_accessor :deploy_job
|
653
|
+
|
654
|
+
# Job represents an operation for a `Rollout`.
|
655
|
+
# Corresponds to the JSON property `verifyJob`
|
656
|
+
# @return [Google::Apis::ClouddeployV1::Job]
|
657
|
+
attr_accessor :verify_job
|
658
|
+
|
659
|
+
def initialize(**args)
|
660
|
+
update!(**args)
|
661
|
+
end
|
662
|
+
|
663
|
+
# Update properties of this object
|
664
|
+
def update!(**args)
|
665
|
+
@deploy_job = args[:deploy_job] if args.key?(:deploy_job)
|
666
|
+
@verify_job = args[:verify_job] if args.key?(:verify_job)
|
667
|
+
end
|
668
|
+
end
|
669
|
+
|
573
670
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
574
671
|
# messages in your APIs. A typical example is to use it as the request or the
|
575
672
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -736,6 +833,191 @@ module Google
|
|
736
833
|
end
|
737
834
|
end
|
738
835
|
|
836
|
+
# Job represents an operation for a `Rollout`.
|
837
|
+
class Job
|
838
|
+
include Google::Apis::Core::Hashable
|
839
|
+
|
840
|
+
# A deploy Job.
|
841
|
+
# Corresponds to the JSON property `deployJob`
|
842
|
+
# @return [Google::Apis::ClouddeployV1::DeployJob]
|
843
|
+
attr_accessor :deploy_job
|
844
|
+
|
845
|
+
# Output only. The ID of the Job.
|
846
|
+
# Corresponds to the JSON property `id`
|
847
|
+
# @return [String]
|
848
|
+
attr_accessor :id
|
849
|
+
|
850
|
+
# Output only. The name of the `JobRun` responsible for the most recent
|
851
|
+
# invocation of this Job.
|
852
|
+
# Corresponds to the JSON property `jobRun`
|
853
|
+
# @return [String]
|
854
|
+
attr_accessor :job_run
|
855
|
+
|
856
|
+
# Output only. The current state of the Job.
|
857
|
+
# Corresponds to the JSON property `state`
|
858
|
+
# @return [String]
|
859
|
+
attr_accessor :state
|
860
|
+
|
861
|
+
# A verify Job.
|
862
|
+
# Corresponds to the JSON property `verifyJob`
|
863
|
+
# @return [Google::Apis::ClouddeployV1::VerifyJob]
|
864
|
+
attr_accessor :verify_job
|
865
|
+
|
866
|
+
def initialize(**args)
|
867
|
+
update!(**args)
|
868
|
+
end
|
869
|
+
|
870
|
+
# Update properties of this object
|
871
|
+
def update!(**args)
|
872
|
+
@deploy_job = args[:deploy_job] if args.key?(:deploy_job)
|
873
|
+
@id = args[:id] if args.key?(:id)
|
874
|
+
@job_run = args[:job_run] if args.key?(:job_run)
|
875
|
+
@state = args[:state] if args.key?(:state)
|
876
|
+
@verify_job = args[:verify_job] if args.key?(:verify_job)
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
880
|
+
# A `JobRun` resource in the Google Cloud Deploy API. A `JobRun` contains
|
881
|
+
# information of a single `Rollout` job evaluation.
|
882
|
+
class JobRun
|
883
|
+
include Google::Apis::Core::Hashable
|
884
|
+
|
885
|
+
# Output only. Time at which the `JobRun` was created.
|
886
|
+
# Corresponds to the JSON property `createTime`
|
887
|
+
# @return [String]
|
888
|
+
attr_accessor :create_time
|
889
|
+
|
890
|
+
# DeployJobRun contains information specific to a deploy `JobRun`.
|
891
|
+
# Corresponds to the JSON property `deployJobRun`
|
892
|
+
# @return [Google::Apis::ClouddeployV1::DeployJobRun]
|
893
|
+
attr_accessor :deploy_job_run
|
894
|
+
|
895
|
+
# Output only. Time at which the `JobRun` ended.
|
896
|
+
# Corresponds to the JSON property `endTime`
|
897
|
+
# @return [String]
|
898
|
+
attr_accessor :end_time
|
899
|
+
|
900
|
+
# Output only. This checksum is computed by the server based on the value of
|
901
|
+
# other fields, and may be sent on update and delete requests to ensure the
|
902
|
+
# client has an up-to-date value before proceeding.
|
903
|
+
# Corresponds to the JSON property `etag`
|
904
|
+
# @return [String]
|
905
|
+
attr_accessor :etag
|
906
|
+
|
907
|
+
# Output only. ID of the `Rollout` job this `JobRun` corresponds to.
|
908
|
+
# Corresponds to the JSON property `jobId`
|
909
|
+
# @return [String]
|
910
|
+
attr_accessor :job_id
|
911
|
+
|
912
|
+
# Optional. Name of the `JobRun`. Format is projects/`project`/locations/`
|
913
|
+
# location`/ deliveryPipelines/`deliveryPipeline`/releases/`releases`/rollouts/ `
|
914
|
+
# rollouts`/jobRuns/`uuid`.
|
915
|
+
# Corresponds to the JSON property `name`
|
916
|
+
# @return [String]
|
917
|
+
attr_accessor :name
|
918
|
+
|
919
|
+
# Output only. ID of the `Rollout` phase this `JobRun` belongs in.
|
920
|
+
# Corresponds to the JSON property `phaseId`
|
921
|
+
# @return [String]
|
922
|
+
attr_accessor :phase_id
|
923
|
+
|
924
|
+
# Output only. Time at which the `JobRun` was started.
|
925
|
+
# Corresponds to the JSON property `startTime`
|
926
|
+
# @return [String]
|
927
|
+
attr_accessor :start_time
|
928
|
+
|
929
|
+
# Output only. The current state of the `JobRun`.
|
930
|
+
# Corresponds to the JSON property `state`
|
931
|
+
# @return [String]
|
932
|
+
attr_accessor :state
|
933
|
+
|
934
|
+
# Output only. Unique identifier of the `JobRun`.
|
935
|
+
# Corresponds to the JSON property `uid`
|
936
|
+
# @return [String]
|
937
|
+
attr_accessor :uid
|
938
|
+
|
939
|
+
# VerifyJobRun contains information specific to a verify `JobRun`.
|
940
|
+
# Corresponds to the JSON property `verifyJobRun`
|
941
|
+
# @return [Google::Apis::ClouddeployV1::VerifyJobRun]
|
942
|
+
attr_accessor :verify_job_run
|
943
|
+
|
944
|
+
def initialize(**args)
|
945
|
+
update!(**args)
|
946
|
+
end
|
947
|
+
|
948
|
+
# Update properties of this object
|
949
|
+
def update!(**args)
|
950
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
951
|
+
@deploy_job_run = args[:deploy_job_run] if args.key?(:deploy_job_run)
|
952
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
953
|
+
@etag = args[:etag] if args.key?(:etag)
|
954
|
+
@job_id = args[:job_id] if args.key?(:job_id)
|
955
|
+
@name = args[:name] if args.key?(:name)
|
956
|
+
@phase_id = args[:phase_id] if args.key?(:phase_id)
|
957
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
958
|
+
@state = args[:state] if args.key?(:state)
|
959
|
+
@uid = args[:uid] if args.key?(:uid)
|
960
|
+
@verify_job_run = args[:verify_job_run] if args.key?(:verify_job_run)
|
961
|
+
end
|
962
|
+
end
|
963
|
+
|
964
|
+
# Payload proto for "clouddeploy.googleapis.com/jobrun_notification" Platform
|
965
|
+
# Log event that describes the failure to send JobRun resource update Pub/Sub
|
966
|
+
# notification.
|
967
|
+
class JobRunNotificationEvent
|
968
|
+
include Google::Apis::Core::Hashable
|
969
|
+
|
970
|
+
# The name of the `JobRun`.
|
971
|
+
# Corresponds to the JSON property `jobRun`
|
972
|
+
# @return [String]
|
973
|
+
attr_accessor :job_run
|
974
|
+
|
975
|
+
# Debug message for when a notification fails to send.
|
976
|
+
# Corresponds to the JSON property `message`
|
977
|
+
# @return [String]
|
978
|
+
attr_accessor :message
|
979
|
+
|
980
|
+
# Unique identifier of the `DeliveryPipeline`.
|
981
|
+
# Corresponds to the JSON property `pipelineUid`
|
982
|
+
# @return [String]
|
983
|
+
attr_accessor :pipeline_uid
|
984
|
+
|
985
|
+
# Unique identifier of the `Release`.
|
986
|
+
# Corresponds to the JSON property `releaseUid`
|
987
|
+
# @return [String]
|
988
|
+
attr_accessor :release_uid
|
989
|
+
|
990
|
+
# Unique identifier of the `Rollout`.
|
991
|
+
# Corresponds to the JSON property `rolloutUid`
|
992
|
+
# @return [String]
|
993
|
+
attr_accessor :rollout_uid
|
994
|
+
|
995
|
+
# ID of the `Target`.
|
996
|
+
# Corresponds to the JSON property `targetId`
|
997
|
+
# @return [String]
|
998
|
+
attr_accessor :target_id
|
999
|
+
|
1000
|
+
# Type of this notification, e.g. for a Pub/Sub failure.
|
1001
|
+
# Corresponds to the JSON property `type`
|
1002
|
+
# @return [String]
|
1003
|
+
attr_accessor :type
|
1004
|
+
|
1005
|
+
def initialize(**args)
|
1006
|
+
update!(**args)
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
# Update properties of this object
|
1010
|
+
def update!(**args)
|
1011
|
+
@job_run = args[:job_run] if args.key?(:job_run)
|
1012
|
+
@message = args[:message] if args.key?(:message)
|
1013
|
+
@pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
|
1014
|
+
@release_uid = args[:release_uid] if args.key?(:release_uid)
|
1015
|
+
@rollout_uid = args[:rollout_uid] if args.key?(:rollout_uid)
|
1016
|
+
@target_id = args[:target_id] if args.key?(:target_id)
|
1017
|
+
@type = args[:type] if args.key?(:type)
|
1018
|
+
end
|
1019
|
+
end
|
1020
|
+
|
739
1021
|
# The response object from `ListDeliveryPipelines`.
|
740
1022
|
class ListDeliveryPipelinesResponse
|
741
1023
|
include Google::Apis::Core::Hashable
|
@@ -768,6 +1050,38 @@ module Google
|
|
768
1050
|
end
|
769
1051
|
end
|
770
1052
|
|
1053
|
+
# ListJobRunsResponse is the response object returned by `ListJobRuns`.
|
1054
|
+
class ListJobRunsResponse
|
1055
|
+
include Google::Apis::Core::Hashable
|
1056
|
+
|
1057
|
+
# The `JobRun` objects.
|
1058
|
+
# Corresponds to the JSON property `jobRuns`
|
1059
|
+
# @return [Array<Google::Apis::ClouddeployV1::JobRun>]
|
1060
|
+
attr_accessor :job_runs
|
1061
|
+
|
1062
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1063
|
+
# field is omitted, there are no subsequent pages.
|
1064
|
+
# Corresponds to the JSON property `nextPageToken`
|
1065
|
+
# @return [String]
|
1066
|
+
attr_accessor :next_page_token
|
1067
|
+
|
1068
|
+
# Locations that could not be reached
|
1069
|
+
# Corresponds to the JSON property `unreachable`
|
1070
|
+
# @return [Array<String>]
|
1071
|
+
attr_accessor :unreachable
|
1072
|
+
|
1073
|
+
def initialize(**args)
|
1074
|
+
update!(**args)
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
# Update properties of this object
|
1078
|
+
def update!(**args)
|
1079
|
+
@job_runs = args[:job_runs] if args.key?(:job_runs)
|
1080
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1081
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1082
|
+
end
|
1083
|
+
end
|
1084
|
+
|
771
1085
|
# The response message for Locations.ListLocations.
|
772
1086
|
class ListLocationsResponse
|
773
1087
|
include Google::Apis::Core::Hashable
|
@@ -961,7 +1275,7 @@ module Google
|
|
961
1275
|
end
|
962
1276
|
end
|
963
1277
|
|
964
|
-
# Metadata
|
1278
|
+
# Metadata includes information associated with a `Rollout`.
|
965
1279
|
class Metadata
|
966
1280
|
include Google::Apis::Core::Hashable
|
967
1281
|
|
@@ -1101,6 +1415,38 @@ module Google
|
|
1101
1415
|
end
|
1102
1416
|
end
|
1103
1417
|
|
1418
|
+
# Phase represents a collection of jobs that are logically grouped together for
|
1419
|
+
# a `Rollout`.
|
1420
|
+
class Phase
|
1421
|
+
include Google::Apis::Core::Hashable
|
1422
|
+
|
1423
|
+
# Deployment job composition.
|
1424
|
+
# Corresponds to the JSON property `deploymentJobs`
|
1425
|
+
# @return [Google::Apis::ClouddeployV1::DeploymentJobs]
|
1426
|
+
attr_accessor :deployment_jobs
|
1427
|
+
|
1428
|
+
# Output only. The ID of the Phase.
|
1429
|
+
# Corresponds to the JSON property `id`
|
1430
|
+
# @return [String]
|
1431
|
+
attr_accessor :id
|
1432
|
+
|
1433
|
+
# Output only. Current state of the Phase.
|
1434
|
+
# Corresponds to the JSON property `state`
|
1435
|
+
# @return [String]
|
1436
|
+
attr_accessor :state
|
1437
|
+
|
1438
|
+
def initialize(**args)
|
1439
|
+
update!(**args)
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
# Update properties of this object
|
1443
|
+
def update!(**args)
|
1444
|
+
@deployment_jobs = args[:deployment_jobs] if args.key?(:deployment_jobs)
|
1445
|
+
@id = args[:id] if args.key?(:id)
|
1446
|
+
@state = args[:state] if args.key?(:state)
|
1447
|
+
end
|
1448
|
+
end
|
1449
|
+
|
1104
1450
|
# PipelineCondition contains all conditions relevant to a Delivery Pipeline.
|
1105
1451
|
class PipelineCondition
|
1106
1452
|
include Google::Apis::Core::Hashable
|
@@ -1494,6 +1840,44 @@ module Google
|
|
1494
1840
|
end
|
1495
1841
|
end
|
1496
1842
|
|
1843
|
+
# RetryJobRequest is the request object used by `RetryJob`.
|
1844
|
+
class RetryJobRequest
|
1845
|
+
include Google::Apis::Core::Hashable
|
1846
|
+
|
1847
|
+
# Required. The job ID for the Job to retry.
|
1848
|
+
# Corresponds to the JSON property `jobId`
|
1849
|
+
# @return [String]
|
1850
|
+
attr_accessor :job_id
|
1851
|
+
|
1852
|
+
# Required. The phase ID the Job to retry belongs to.
|
1853
|
+
# Corresponds to the JSON property `phaseId`
|
1854
|
+
# @return [String]
|
1855
|
+
attr_accessor :phase_id
|
1856
|
+
|
1857
|
+
def initialize(**args)
|
1858
|
+
update!(**args)
|
1859
|
+
end
|
1860
|
+
|
1861
|
+
# Update properties of this object
|
1862
|
+
def update!(**args)
|
1863
|
+
@job_id = args[:job_id] if args.key?(:job_id)
|
1864
|
+
@phase_id = args[:phase_id] if args.key?(:phase_id)
|
1865
|
+
end
|
1866
|
+
end
|
1867
|
+
|
1868
|
+
# The response object from 'RetryJob'.
|
1869
|
+
class RetryJobResponse
|
1870
|
+
include Google::Apis::Core::Hashable
|
1871
|
+
|
1872
|
+
def initialize(**args)
|
1873
|
+
update!(**args)
|
1874
|
+
end
|
1875
|
+
|
1876
|
+
# Update properties of this object
|
1877
|
+
def update!(**args)
|
1878
|
+
end
|
1879
|
+
end
|
1880
|
+
|
1497
1881
|
# A `Rollout` resource in the Google Cloud Deploy API. A `Rollout` contains
|
1498
1882
|
# information around a specific deployment to a `Target`.
|
1499
1883
|
class Rollout
|
@@ -1577,7 +1961,7 @@ module Google
|
|
1577
1961
|
# @return [Hash<String,String>]
|
1578
1962
|
attr_accessor :labels
|
1579
1963
|
|
1580
|
-
# Metadata
|
1964
|
+
# Metadata includes information associated with a `Rollout`.
|
1581
1965
|
# Corresponds to the JSON property `metadata`
|
1582
1966
|
# @return [Google::Apis::ClouddeployV1::Metadata]
|
1583
1967
|
attr_accessor :metadata
|
@@ -1589,6 +1973,11 @@ module Google
|
|
1589
1973
|
# @return [String]
|
1590
1974
|
attr_accessor :name
|
1591
1975
|
|
1976
|
+
# Output only. The phases that represent the workflows of this `Rollout`.
|
1977
|
+
# Corresponds to the JSON property `phases`
|
1978
|
+
# @return [Array<Google::Apis::ClouddeployV1::Phase>]
|
1979
|
+
attr_accessor :phases
|
1980
|
+
|
1592
1981
|
# Output only. Current state of the `Rollout`.
|
1593
1982
|
# Corresponds to the JSON property `state`
|
1594
1983
|
# @return [String]
|
@@ -1625,6 +2014,7 @@ module Google
|
|
1625
2014
|
@labels = args[:labels] if args.key?(:labels)
|
1626
2015
|
@metadata = args[:metadata] if args.key?(:metadata)
|
1627
2016
|
@name = args[:name] if args.key?(:name)
|
2017
|
+
@phases = args[:phases] if args.key?(:phases)
|
1628
2018
|
@state = args[:state] if args.key?(:state)
|
1629
2019
|
@target_id = args[:target_id] if args.key?(:target_id)
|
1630
2020
|
@uid = args[:uid] if args.key?(:uid)
|
@@ -1796,6 +2186,11 @@ module Google
|
|
1796
2186
|
# @return [Array<String>]
|
1797
2187
|
attr_accessor :profiles
|
1798
2188
|
|
2189
|
+
# Strategy contains deployment strategy information.
|
2190
|
+
# Corresponds to the JSON property `strategy`
|
2191
|
+
# @return [Google::Apis::ClouddeployV1::Strategy]
|
2192
|
+
attr_accessor :strategy
|
2193
|
+
|
1799
2194
|
# The target_id to which this stage points. This field refers exclusively to the
|
1800
2195
|
# last segment of a target name. For example, this field would just be `my-
|
1801
2196
|
# target` (rather than `projects/project/locations/location/targets/my-target`).
|
@@ -1812,10 +2207,31 @@ module Google
|
|
1812
2207
|
# Update properties of this object
|
1813
2208
|
def update!(**args)
|
1814
2209
|
@profiles = args[:profiles] if args.key?(:profiles)
|
2210
|
+
@strategy = args[:strategy] if args.key?(:strategy)
|
1815
2211
|
@target_id = args[:target_id] if args.key?(:target_id)
|
1816
2212
|
end
|
1817
2213
|
end
|
1818
2214
|
|
2215
|
+
# Standard represents the standard deployment strategy.
|
2216
|
+
class Standard
|
2217
|
+
include Google::Apis::Core::Hashable
|
2218
|
+
|
2219
|
+
# Whether to verify a deployment.
|
2220
|
+
# Corresponds to the JSON property `verify`
|
2221
|
+
# @return [Boolean]
|
2222
|
+
attr_accessor :verify
|
2223
|
+
alias_method :verify?, :verify
|
2224
|
+
|
2225
|
+
def initialize(**args)
|
2226
|
+
update!(**args)
|
2227
|
+
end
|
2228
|
+
|
2229
|
+
# Update properties of this object
|
2230
|
+
def update!(**args)
|
2231
|
+
@verify = args[:verify] if args.key?(:verify)
|
2232
|
+
end
|
2233
|
+
end
|
2234
|
+
|
1819
2235
|
# The `Status` type defines a logical error model that is suitable for different
|
1820
2236
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1821
2237
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -1855,6 +2271,25 @@ module Google
|
|
1855
2271
|
end
|
1856
2272
|
end
|
1857
2273
|
|
2274
|
+
# Strategy contains deployment strategy information.
|
2275
|
+
class Strategy
|
2276
|
+
include Google::Apis::Core::Hashable
|
2277
|
+
|
2278
|
+
# Standard represents the standard deployment strategy.
|
2279
|
+
# Corresponds to the JSON property `standard`
|
2280
|
+
# @return [Google::Apis::ClouddeployV1::Standard]
|
2281
|
+
attr_accessor :standard
|
2282
|
+
|
2283
|
+
def initialize(**args)
|
2284
|
+
update!(**args)
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
# Update properties of this object
|
2288
|
+
def update!(**args)
|
2289
|
+
@standard = args[:standard] if args.key?(:standard)
|
2290
|
+
end
|
2291
|
+
end
|
2292
|
+
|
1858
2293
|
# A `Target` resource in the Google Cloud Deploy API. A `Target` defines a
|
1859
2294
|
# location to which a Skaffold configuration can be deployed.
|
1860
2295
|
class Target
|
@@ -2150,6 +2585,65 @@ module Google
|
|
2150
2585
|
@permissions = args[:permissions] if args.key?(:permissions)
|
2151
2586
|
end
|
2152
2587
|
end
|
2588
|
+
|
2589
|
+
# A verify Job.
|
2590
|
+
class VerifyJob
|
2591
|
+
include Google::Apis::Core::Hashable
|
2592
|
+
|
2593
|
+
def initialize(**args)
|
2594
|
+
update!(**args)
|
2595
|
+
end
|
2596
|
+
|
2597
|
+
# Update properties of this object
|
2598
|
+
def update!(**args)
|
2599
|
+
end
|
2600
|
+
end
|
2601
|
+
|
2602
|
+
# VerifyJobRun contains information specific to a verify `JobRun`.
|
2603
|
+
class VerifyJobRun
|
2604
|
+
include Google::Apis::Core::Hashable
|
2605
|
+
|
2606
|
+
# Output only. URI of a directory containing the verify artifacts. This contains
|
2607
|
+
# the Skaffold event log.
|
2608
|
+
# Corresponds to the JSON property `artifactUri`
|
2609
|
+
# @return [String]
|
2610
|
+
attr_accessor :artifact_uri
|
2611
|
+
|
2612
|
+
# Output only. The resource name of the Cloud Build `Build` object that is used
|
2613
|
+
# to verify. Format is projects/`project`/locations/`location`/builds/`build`.
|
2614
|
+
# Corresponds to the JSON property `build`
|
2615
|
+
# @return [String]
|
2616
|
+
attr_accessor :build
|
2617
|
+
|
2618
|
+
# Output only. File path of the Skaffold event log relative to the artifact URI.
|
2619
|
+
# Corresponds to the JSON property `eventLogPath`
|
2620
|
+
# @return [String]
|
2621
|
+
attr_accessor :event_log_path
|
2622
|
+
|
2623
|
+
# Output only. The reason the verify failed. This will always be unspecified
|
2624
|
+
# while the verify is in progress or if it succeeded.
|
2625
|
+
# Corresponds to the JSON property `failureCause`
|
2626
|
+
# @return [String]
|
2627
|
+
attr_accessor :failure_cause
|
2628
|
+
|
2629
|
+
# Output only. Additional information about the verify failure, if available.
|
2630
|
+
# Corresponds to the JSON property `failureMessage`
|
2631
|
+
# @return [String]
|
2632
|
+
attr_accessor :failure_message
|
2633
|
+
|
2634
|
+
def initialize(**args)
|
2635
|
+
update!(**args)
|
2636
|
+
end
|
2637
|
+
|
2638
|
+
# Update properties of this object
|
2639
|
+
def update!(**args)
|
2640
|
+
@artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri)
|
2641
|
+
@build = args[:build] if args.key?(:build)
|
2642
|
+
@event_log_path = args[:event_log_path] if args.key?(:event_log_path)
|
2643
|
+
@failure_cause = args[:failure_cause] if args.key?(:failure_cause)
|
2644
|
+
@failure_message = args[:failure_message] if args.key?(:failure_message)
|
2645
|
+
end
|
2646
|
+
end
|
2153
2647
|
end
|
2154
2648
|
end
|
2155
2649
|
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.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.10.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220915"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -124,6 +124,30 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
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 DeployJobRunMetadata
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class DeploymentJobs
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
127
151
|
class Empty
|
128
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
153
|
|
@@ -148,12 +172,36 @@ module Google
|
|
148
172
|
include Google::Apis::Core::JsonObjectSupport
|
149
173
|
end
|
150
174
|
|
175
|
+
class Job
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class JobRun
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class JobRunNotificationEvent
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
151
193
|
class ListDeliveryPipelinesResponse
|
152
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
195
|
|
154
196
|
include Google::Apis::Core::JsonObjectSupport
|
155
197
|
end
|
156
198
|
|
199
|
+
class ListJobRunsResponse
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
157
205
|
class ListLocationsResponse
|
158
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
207
|
|
@@ -208,6 +256,12 @@ module Google
|
|
208
256
|
include Google::Apis::Core::JsonObjectSupport
|
209
257
|
end
|
210
258
|
|
259
|
+
class Phase
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
211
265
|
class PipelineCondition
|
212
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
267
|
|
@@ -250,6 +304,18 @@ module Google
|
|
250
304
|
include Google::Apis::Core::JsonObjectSupport
|
251
305
|
end
|
252
306
|
|
307
|
+
class RetryJobRequest
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class RetryJobResponse
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
253
319
|
class Rollout
|
254
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
321
|
|
@@ -286,12 +352,24 @@ module Google
|
|
286
352
|
include Google::Apis::Core::JsonObjectSupport
|
287
353
|
end
|
288
354
|
|
355
|
+
class Standard
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
289
361
|
class Status
|
290
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
363
|
|
292
364
|
include Google::Apis::Core::JsonObjectSupport
|
293
365
|
end
|
294
366
|
|
367
|
+
class Strategy
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
295
373
|
class Target
|
296
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
375
|
|
@@ -334,6 +412,18 @@ module Google
|
|
334
412
|
include Google::Apis::Core::JsonObjectSupport
|
335
413
|
end
|
336
414
|
|
415
|
+
class VerifyJob
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
421
|
+
class VerifyJobRun
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
426
|
+
|
337
427
|
class AbandonReleaseRequest
|
338
428
|
# @private
|
339
429
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -478,6 +568,41 @@ module Google
|
|
478
568
|
end
|
479
569
|
end
|
480
570
|
|
571
|
+
class DeployJob
|
572
|
+
# @private
|
573
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
574
|
+
end
|
575
|
+
end
|
576
|
+
|
577
|
+
class DeployJobRun
|
578
|
+
# @private
|
579
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
580
|
+
property :build, as: 'build'
|
581
|
+
property :failure_cause, as: 'failureCause'
|
582
|
+
property :failure_message, as: 'failureMessage'
|
583
|
+
property :metadata, as: 'metadata', class: Google::Apis::ClouddeployV1::DeployJobRunMetadata, decorator: Google::Apis::ClouddeployV1::DeployJobRunMetadata::Representation
|
584
|
+
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
588
|
+
class DeployJobRunMetadata
|
589
|
+
# @private
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
591
|
+
property :cloud_run, as: 'cloudRun', class: Google::Apis::ClouddeployV1::CloudRunMetadata, decorator: Google::Apis::ClouddeployV1::CloudRunMetadata::Representation
|
592
|
+
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
class DeploymentJobs
|
597
|
+
# @private
|
598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
599
|
+
property :deploy_job, as: 'deployJob', class: Google::Apis::ClouddeployV1::Job, decorator: Google::Apis::ClouddeployV1::Job::Representation
|
600
|
+
|
601
|
+
property :verify_job, as: 'verifyJob', class: Google::Apis::ClouddeployV1::Job, decorator: Google::Apis::ClouddeployV1::Job::Representation
|
602
|
+
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
481
606
|
class Empty
|
482
607
|
# @private
|
483
608
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -517,6 +642,51 @@ module Google
|
|
517
642
|
end
|
518
643
|
end
|
519
644
|
|
645
|
+
class Job
|
646
|
+
# @private
|
647
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
648
|
+
property :deploy_job, as: 'deployJob', class: Google::Apis::ClouddeployV1::DeployJob, decorator: Google::Apis::ClouddeployV1::DeployJob::Representation
|
649
|
+
|
650
|
+
property :id, as: 'id'
|
651
|
+
property :job_run, as: 'jobRun'
|
652
|
+
property :state, as: 'state'
|
653
|
+
property :verify_job, as: 'verifyJob', class: Google::Apis::ClouddeployV1::VerifyJob, decorator: Google::Apis::ClouddeployV1::VerifyJob::Representation
|
654
|
+
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
class JobRun
|
659
|
+
# @private
|
660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
661
|
+
property :create_time, as: 'createTime'
|
662
|
+
property :deploy_job_run, as: 'deployJobRun', class: Google::Apis::ClouddeployV1::DeployJobRun, decorator: Google::Apis::ClouddeployV1::DeployJobRun::Representation
|
663
|
+
|
664
|
+
property :end_time, as: 'endTime'
|
665
|
+
property :etag, as: 'etag'
|
666
|
+
property :job_id, as: 'jobId'
|
667
|
+
property :name, as: 'name'
|
668
|
+
property :phase_id, as: 'phaseId'
|
669
|
+
property :start_time, as: 'startTime'
|
670
|
+
property :state, as: 'state'
|
671
|
+
property :uid, as: 'uid'
|
672
|
+
property :verify_job_run, as: 'verifyJobRun', class: Google::Apis::ClouddeployV1::VerifyJobRun, decorator: Google::Apis::ClouddeployV1::VerifyJobRun::Representation
|
673
|
+
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
677
|
+
class JobRunNotificationEvent
|
678
|
+
# @private
|
679
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
680
|
+
property :job_run, as: 'jobRun'
|
681
|
+
property :message, as: 'message'
|
682
|
+
property :pipeline_uid, as: 'pipelineUid'
|
683
|
+
property :release_uid, as: 'releaseUid'
|
684
|
+
property :rollout_uid, as: 'rolloutUid'
|
685
|
+
property :target_id, as: 'targetId'
|
686
|
+
property :type, as: 'type'
|
687
|
+
end
|
688
|
+
end
|
689
|
+
|
520
690
|
class ListDeliveryPipelinesResponse
|
521
691
|
# @private
|
522
692
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -527,6 +697,16 @@ module Google
|
|
527
697
|
end
|
528
698
|
end
|
529
699
|
|
700
|
+
class ListJobRunsResponse
|
701
|
+
# @private
|
702
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
703
|
+
collection :job_runs, as: 'jobRuns', class: Google::Apis::ClouddeployV1::JobRun, decorator: Google::Apis::ClouddeployV1::JobRun::Representation
|
704
|
+
|
705
|
+
property :next_page_token, as: 'nextPageToken'
|
706
|
+
collection :unreachable, as: 'unreachable'
|
707
|
+
end
|
708
|
+
end
|
709
|
+
|
530
710
|
class ListLocationsResponse
|
531
711
|
# @private
|
532
712
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -619,6 +799,16 @@ module Google
|
|
619
799
|
end
|
620
800
|
end
|
621
801
|
|
802
|
+
class Phase
|
803
|
+
# @private
|
804
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
805
|
+
property :deployment_jobs, as: 'deploymentJobs', class: Google::Apis::ClouddeployV1::DeploymentJobs, decorator: Google::Apis::ClouddeployV1::DeploymentJobs::Representation
|
806
|
+
|
807
|
+
property :id, as: 'id'
|
808
|
+
property :state, as: 'state'
|
809
|
+
end
|
810
|
+
end
|
811
|
+
|
622
812
|
class PipelineCondition
|
623
813
|
# @private
|
624
814
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -705,6 +895,20 @@ module Google
|
|
705
895
|
end
|
706
896
|
end
|
707
897
|
|
898
|
+
class RetryJobRequest
|
899
|
+
# @private
|
900
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
901
|
+
property :job_id, as: 'jobId'
|
902
|
+
property :phase_id, as: 'phaseId'
|
903
|
+
end
|
904
|
+
end
|
905
|
+
|
906
|
+
class RetryJobResponse
|
907
|
+
# @private
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
909
|
+
end
|
910
|
+
end
|
911
|
+
|
708
912
|
class Rollout
|
709
913
|
# @private
|
710
914
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -724,6 +928,8 @@ module Google
|
|
724
928
|
property :metadata, as: 'metadata', class: Google::Apis::ClouddeployV1::Metadata, decorator: Google::Apis::ClouddeployV1::Metadata::Representation
|
725
929
|
|
726
930
|
property :name, as: 'name'
|
931
|
+
collection :phases, as: 'phases', class: Google::Apis::ClouddeployV1::Phase, decorator: Google::Apis::ClouddeployV1::Phase::Representation
|
932
|
+
|
727
933
|
property :state, as: 'state'
|
728
934
|
property :target_id, as: 'targetId'
|
729
935
|
property :uid, as: 'uid'
|
@@ -772,10 +978,19 @@ module Google
|
|
772
978
|
# @private
|
773
979
|
class Representation < Google::Apis::Core::JsonRepresentation
|
774
980
|
collection :profiles, as: 'profiles'
|
981
|
+
property :strategy, as: 'strategy', class: Google::Apis::ClouddeployV1::Strategy, decorator: Google::Apis::ClouddeployV1::Strategy::Representation
|
982
|
+
|
775
983
|
property :target_id, as: 'targetId'
|
776
984
|
end
|
777
985
|
end
|
778
986
|
|
987
|
+
class Standard
|
988
|
+
# @private
|
989
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
990
|
+
property :verify, as: 'verify'
|
991
|
+
end
|
992
|
+
end
|
993
|
+
|
779
994
|
class Status
|
780
995
|
# @private
|
781
996
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -785,6 +1000,14 @@ module Google
|
|
785
1000
|
end
|
786
1001
|
end
|
787
1002
|
|
1003
|
+
class Strategy
|
1004
|
+
# @private
|
1005
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1006
|
+
property :standard, as: 'standard', class: Google::Apis::ClouddeployV1::Standard, decorator: Google::Apis::ClouddeployV1::Standard::Representation
|
1007
|
+
|
1008
|
+
end
|
1009
|
+
end
|
1010
|
+
|
788
1011
|
class Target
|
789
1012
|
# @private
|
790
1013
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -859,6 +1082,23 @@ module Google
|
|
859
1082
|
collection :permissions, as: 'permissions'
|
860
1083
|
end
|
861
1084
|
end
|
1085
|
+
|
1086
|
+
class VerifyJob
|
1087
|
+
# @private
|
1088
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1089
|
+
end
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
class VerifyJobRun
|
1093
|
+
# @private
|
1094
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1095
|
+
property :artifact_uri, as: 'artifactUri'
|
1096
|
+
property :build, as: 'build'
|
1097
|
+
property :event_log_path, as: 'eventLogPath'
|
1098
|
+
property :failure_cause, as: 'failureCause'
|
1099
|
+
property :failure_message, as: 'failureMessage'
|
1100
|
+
end
|
1101
|
+
end
|
862
1102
|
end
|
863
1103
|
end
|
864
1104
|
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.16.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-09-
|
11
|
+
date: 2022-09-26 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.9.0
|
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.9.0
|
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.16.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: []
|