google-apis-clouddeploy_v1 0.14.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
@@ -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
|
@@ -570,6 +570,77 @@ module Google
|
|
570
570
|
end
|
571
571
|
end
|
572
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
|
+
|
573
644
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
574
645
|
# messages in your APIs. A typical example is to use it as the request or the
|
575
646
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -736,6 +807,134 @@ module Google
|
|
736
807
|
end
|
737
808
|
end
|
738
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
|
+
|
739
938
|
# The response object from `ListDeliveryPipelines`.
|
740
939
|
class ListDeliveryPipelinesResponse
|
741
940
|
include Google::Apis::Core::Hashable
|
@@ -768,6 +967,38 @@ module Google
|
|
768
967
|
end
|
769
968
|
end
|
770
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
|
+
|
771
1002
|
# The response message for Locations.ListLocations.
|
772
1003
|
class ListLocationsResponse
|
773
1004
|
include Google::Apis::Core::Hashable
|
@@ -961,7 +1192,7 @@ module Google
|
|
961
1192
|
end
|
962
1193
|
end
|
963
1194
|
|
964
|
-
# Metadata
|
1195
|
+
# Metadata includes information associated with a `Rollout`.
|
965
1196
|
class Metadata
|
966
1197
|
include Google::Apis::Core::Hashable
|
967
1198
|
|
@@ -1101,6 +1332,38 @@ module Google
|
|
1101
1332
|
end
|
1102
1333
|
end
|
1103
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
|
+
|
1104
1367
|
# PipelineCondition contains all conditions relevant to a Delivery Pipeline.
|
1105
1368
|
class PipelineCondition
|
1106
1369
|
include Google::Apis::Core::Hashable
|
@@ -1494,6 +1757,44 @@ module Google
|
|
1494
1757
|
end
|
1495
1758
|
end
|
1496
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
|
+
|
1497
1798
|
# A `Rollout` resource in the Google Cloud Deploy API. A `Rollout` contains
|
1498
1799
|
# information around a specific deployment to a `Target`.
|
1499
1800
|
class Rollout
|
@@ -1577,7 +1878,7 @@ module Google
|
|
1577
1878
|
# @return [Hash<String,String>]
|
1578
1879
|
attr_accessor :labels
|
1579
1880
|
|
1580
|
-
# Metadata
|
1881
|
+
# Metadata includes information associated with a `Rollout`.
|
1581
1882
|
# Corresponds to the JSON property `metadata`
|
1582
1883
|
# @return [Google::Apis::ClouddeployV1::Metadata]
|
1583
1884
|
attr_accessor :metadata
|
@@ -1589,6 +1890,11 @@ module Google
|
|
1589
1890
|
# @return [String]
|
1590
1891
|
attr_accessor :name
|
1591
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
|
+
|
1592
1898
|
# Output only. Current state of the `Rollout`.
|
1593
1899
|
# Corresponds to the JSON property `state`
|
1594
1900
|
# @return [String]
|
@@ -1625,6 +1931,7 @@ module Google
|
|
1625
1931
|
@labels = args[:labels] if args.key?(:labels)
|
1626
1932
|
@metadata = args[:metadata] if args.key?(:metadata)
|
1627
1933
|
@name = args[:name] if args.key?(:name)
|
1934
|
+
@phases = args[:phases] if args.key?(:phases)
|
1628
1935
|
@state = args[:state] if args.key?(:state)
|
1629
1936
|
@target_id = args[:target_id] if args.key?(:target_id)
|
1630
1937
|
@uid = args[:uid] if args.key?(:uid)
|
@@ -1796,6 +2103,11 @@ module Google
|
|
1796
2103
|
# @return [Array<String>]
|
1797
2104
|
attr_accessor :profiles
|
1798
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
|
+
|
1799
2111
|
# The target_id to which this stage points. This field refers exclusively to the
|
1800
2112
|
# last segment of a target name. For example, this field would just be `my-
|
1801
2113
|
# target` (rather than `projects/project/locations/location/targets/my-target`).
|
@@ -1812,10 +2124,31 @@ module Google
|
|
1812
2124
|
# Update properties of this object
|
1813
2125
|
def update!(**args)
|
1814
2126
|
@profiles = args[:profiles] if args.key?(:profiles)
|
2127
|
+
@strategy = args[:strategy] if args.key?(:strategy)
|
1815
2128
|
@target_id = args[:target_id] if args.key?(:target_id)
|
1816
2129
|
end
|
1817
2130
|
end
|
1818
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
|
+
|
1819
2152
|
# The `Status` type defines a logical error model that is suitable for different
|
1820
2153
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1821
2154
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -1855,6 +2188,25 @@ module Google
|
|
1855
2188
|
end
|
1856
2189
|
end
|
1857
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
|
+
|
1858
2210
|
# A `Target` resource in the Google Cloud Deploy API. A `Target` defines a
|
1859
2211
|
# location to which a Skaffold configuration can be deployed.
|
1860
2212
|
class Target
|
@@ -2150,6 +2502,65 @@ module Google
|
|
2150
2502
|
@permissions = args[:permissions] if args.key?(:permissions)
|
2151
2503
|
end
|
2152
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
|
2153
2564
|
end
|
2154
2565
|
end
|
2155
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
|
@@ -124,6 +124,24 @@ 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 DeploymentJobs
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
127
145
|
class Empty
|
128
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
147
|
|
@@ -148,12 +166,30 @@ module Google
|
|
148
166
|
include Google::Apis::Core::JsonObjectSupport
|
149
167
|
end
|
150
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
|
+
|
151
181
|
class ListDeliveryPipelinesResponse
|
152
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
183
|
|
154
184
|
include Google::Apis::Core::JsonObjectSupport
|
155
185
|
end
|
156
186
|
|
187
|
+
class ListJobRunsResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
157
193
|
class ListLocationsResponse
|
158
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
195
|
|
@@ -208,6 +244,12 @@ module Google
|
|
208
244
|
include Google::Apis::Core::JsonObjectSupport
|
209
245
|
end
|
210
246
|
|
247
|
+
class Phase
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
211
253
|
class PipelineCondition
|
212
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
255
|
|
@@ -250,6 +292,18 @@ module Google
|
|
250
292
|
include Google::Apis::Core::JsonObjectSupport
|
251
293
|
end
|
252
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
|
+
|
253
307
|
class Rollout
|
254
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
309
|
|
@@ -286,12 +340,24 @@ module Google
|
|
286
340
|
include Google::Apis::Core::JsonObjectSupport
|
287
341
|
end
|
288
342
|
|
343
|
+
class Standard
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
289
349
|
class Status
|
290
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
351
|
|
292
352
|
include Google::Apis::Core::JsonObjectSupport
|
293
353
|
end
|
294
354
|
|
355
|
+
class Strategy
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
295
361
|
class Target
|
296
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
363
|
|
@@ -334,6 +400,18 @@ module Google
|
|
334
400
|
include Google::Apis::Core::JsonObjectSupport
|
335
401
|
end
|
336
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
|
+
|
337
415
|
class AbandonReleaseRequest
|
338
416
|
# @private
|
339
417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -478,6 +556,31 @@ module Google
|
|
478
556
|
end
|
479
557
|
end
|
480
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
|
+
|
481
584
|
class Empty
|
482
585
|
# @private
|
483
586
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -517,6 +620,38 @@ module Google
|
|
517
620
|
end
|
518
621
|
end
|
519
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
|
+
|
520
655
|
class ListDeliveryPipelinesResponse
|
521
656
|
# @private
|
522
657
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -527,6 +662,16 @@ module Google
|
|
527
662
|
end
|
528
663
|
end
|
529
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
|
+
|
530
675
|
class ListLocationsResponse
|
531
676
|
# @private
|
532
677
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -619,6 +764,16 @@ module Google
|
|
619
764
|
end
|
620
765
|
end
|
621
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
|
+
|
622
777
|
class PipelineCondition
|
623
778
|
# @private
|
624
779
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -705,6 +860,20 @@ module Google
|
|
705
860
|
end
|
706
861
|
end
|
707
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
|
+
|
708
877
|
class Rollout
|
709
878
|
# @private
|
710
879
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -724,6 +893,8 @@ module Google
|
|
724
893
|
property :metadata, as: 'metadata', class: Google::Apis::ClouddeployV1::Metadata, decorator: Google::Apis::ClouddeployV1::Metadata::Representation
|
725
894
|
|
726
895
|
property :name, as: 'name'
|
896
|
+
collection :phases, as: 'phases', class: Google::Apis::ClouddeployV1::Phase, decorator: Google::Apis::ClouddeployV1::Phase::Representation
|
897
|
+
|
727
898
|
property :state, as: 'state'
|
728
899
|
property :target_id, as: 'targetId'
|
729
900
|
property :uid, as: 'uid'
|
@@ -772,10 +943,19 @@ module Google
|
|
772
943
|
# @private
|
773
944
|
class Representation < Google::Apis::Core::JsonRepresentation
|
774
945
|
collection :profiles, as: 'profiles'
|
946
|
+
property :strategy, as: 'strategy', class: Google::Apis::ClouddeployV1::Strategy, decorator: Google::Apis::ClouddeployV1::Strategy::Representation
|
947
|
+
|
775
948
|
property :target_id, as: 'targetId'
|
776
949
|
end
|
777
950
|
end
|
778
951
|
|
952
|
+
class Standard
|
953
|
+
# @private
|
954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
955
|
+
property :verify, as: 'verify'
|
956
|
+
end
|
957
|
+
end
|
958
|
+
|
779
959
|
class Status
|
780
960
|
# @private
|
781
961
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -785,6 +965,14 @@ module Google
|
|
785
965
|
end
|
786
966
|
end
|
787
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
|
+
|
788
976
|
class Target
|
789
977
|
# @private
|
790
978
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -859,6 +1047,23 @@ module Google
|
|
859
1047
|
collection :permissions, as: 'permissions'
|
860
1048
|
end
|
861
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
|
862
1067
|
end
|
863
1068
|
end
|
864
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-09-
|
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: []
|