google-apis-clouddeploy_v1 0.24.0 → 0.26.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: 7c234963ccf764ff8cad4f5492c64011574351ab3f75aa690bd1d16e0ccd1c62
4
- data.tar.gz: 0ac997163790b1e827463cfc3a8cfd428d27842b9181963804c71b7725f1ad99
3
+ metadata.gz: f4073193310f2b1e8562c53fac874c0b3995015c5078cfce68c2e3d9f8db1c3c
4
+ data.tar.gz: edce92750aeaf536c8cebb2d781cbd2bb66cf052247d8ad792bba4be56abe903
5
5
  SHA512:
6
- metadata.gz: f08767e6f6519f9f37895e34ea4901a68fe2dee5d5a5e093baf4c22268b202554f6ff0a62f5cdbf2acc8774c9aed08890921f3bc7249fc9cf81236511db3a7ef
7
- data.tar.gz: 3619b1b72194380eb15dea0ba5bae448e133eb1628e955af8418e2b1a5f21ffed3836e3df3693d08dcd40cad2ced7eecb9bc8c8552618e9b640d0521a3e85819
6
+ metadata.gz: bb40d60bb5f8db928cb247e1c755ab4629893bbfed2498cae7689bd4cb40fe467b7ad2ba14b51f265f5bd9f92a0811501ac545b04c6ab49916c8796c60acf53e
7
+ data.tar.gz: 1a14e430f32247811d050487c7c66cc1b1c803abc108d4eb653fec78a60e59128d7e3280db3583d95e47eae4c1eb9075c9184d58f6616cadcb970b78c6e7f843
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.26.0 (2023-06-11)
4
+
5
+ * Regenerated from discovery document revision 20230602
6
+
7
+ ### v0.25.0 (2023-05-07)
8
+
9
+ * Regenerated from discovery document revision 20230426
10
+
3
11
  ### v0.24.0 (2023-04-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20230419
@@ -857,6 +857,33 @@ module Google
857
857
  end
858
858
  end
859
859
 
860
+ # The artifacts produced by a deploy operation.
861
+ class DeployArtifact
862
+ include Google::Apis::Core::Hashable
863
+
864
+ # Output only. URI of a directory containing the artifacts. All paths are
865
+ # relative to this location.
866
+ # Corresponds to the JSON property `artifactUri`
867
+ # @return [String]
868
+ attr_accessor :artifact_uri
869
+
870
+ # Output only. File paths of the manifests applied during the deploy operation
871
+ # relative to the URI.
872
+ # Corresponds to the JSON property `manifestPaths`
873
+ # @return [Array<String>]
874
+ attr_accessor :manifest_paths
875
+
876
+ def initialize(**args)
877
+ update!(**args)
878
+ end
879
+
880
+ # Update properties of this object
881
+ def update!(**args)
882
+ @artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri)
883
+ @manifest_paths = args[:manifest_paths] if args.key?(:manifest_paths)
884
+ end
885
+ end
886
+
860
887
  # A deploy Job.
861
888
  class DeployJob
862
889
  include Google::Apis::Core::Hashable
@@ -874,6 +901,11 @@ module Google
874
901
  class DeployJobRun
875
902
  include Google::Apis::Core::Hashable
876
903
 
904
+ # The artifacts produced by a deploy operation.
905
+ # Corresponds to the JSON property `artifact`
906
+ # @return [Google::Apis::ClouddeployV1::DeployArtifact]
907
+ attr_accessor :artifact
908
+
877
909
  # Output only. The resource name of the Cloud Build `Build` object that is used
878
910
  # to deploy. Format is projects/`project`/locations/`location`/builds/`build`.
879
911
  # Corresponds to the JSON property `build`
@@ -903,6 +935,7 @@ module Google
903
935
 
904
936
  # Update properties of this object
905
937
  def update!(**args)
938
+ @artifact = args[:artifact] if args.key?(:artifact)
906
939
  @build = args[:build] if args.key?(:build)
907
940
  @failure_cause = args[:failure_cause] if args.key?(:failure_cause)
908
941
  @failure_message = args[:failure_message] if args.key?(:failure_message)
@@ -1643,7 +1676,7 @@ module Google
1643
1676
  end
1644
1677
  end
1645
1678
 
1646
- # A resource that represents Google Cloud location.
1679
+ # A resource that represents a Google Cloud location.
1647
1680
  class Location
1648
1681
  include Google::Apis::Core::Hashable
1649
1682
 
@@ -1897,6 +1930,12 @@ module Google
1897
1930
  class PhaseArtifact
1898
1931
  include Google::Apis::Core::Hashable
1899
1932
 
1933
+ # Output only. File path of the directory of rendered job manifests relative to
1934
+ # the URI. This is only set if it is applicable.
1935
+ # Corresponds to the JSON property `jobManifestsPath`
1936
+ # @return [String]
1937
+ attr_accessor :job_manifests_path
1938
+
1900
1939
  # Output only. File path of the rendered manifest relative to the URI.
1901
1940
  # Corresponds to the JSON property `manifestPath`
1902
1941
  # @return [String]
@@ -1914,6 +1953,7 @@ module Google
1914
1953
 
1915
1954
  # Update properties of this object
1916
1955
  def update!(**args)
1956
+ @job_manifests_path = args[:job_manifests_path] if args.key?(:job_manifests_path)
1917
1957
  @manifest_path = args[:manifest_path] if args.key?(:manifest_path)
1918
1958
  @skaffold_config_path = args[:skaffold_config_path] if args.key?(:skaffold_config_path)
1919
1959
  end
@@ -2735,6 +2775,14 @@ module Google
2735
2775
  # @return [String]
2736
2776
  attr_accessor :deployment
2737
2777
 
2778
+ # Optional. Whether to disable Pod overprovisioning. If Pod overprovisioning is
2779
+ # disabled then Cloud Deploy will limit the number of total Pods used for the
2780
+ # deployment strategy to the number of Pods the Deployment has on the cluster.
2781
+ # Corresponds to the JSON property `disablePodOverprovisioning`
2782
+ # @return [Boolean]
2783
+ attr_accessor :disable_pod_overprovisioning
2784
+ alias_method :disable_pod_overprovisioning?, :disable_pod_overprovisioning
2785
+
2738
2786
  # Required. Name of the Kubernetes Service.
2739
2787
  # Corresponds to the JSON property `service`
2740
2788
  # @return [String]
@@ -2747,6 +2795,7 @@ module Google
2747
2795
  # Update properties of this object
2748
2796
  def update!(**args)
2749
2797
  @deployment = args[:deployment] if args.key?(:deployment)
2798
+ @disable_pod_overprovisioning = args[:disable_pod_overprovisioning] if args.key?(:disable_pod_overprovisioning)
2750
2799
  @service = args[:service] if args.key?(:service)
2751
2800
  end
2752
2801
  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.24.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230419"
25
+ REVISION = "20230602"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class DeployArtifact
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class DeployJob
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -853,6 +859,14 @@ module Google
853
859
  end
854
860
  end
855
861
 
862
+ class DeployArtifact
863
+ # @private
864
+ class Representation < Google::Apis::Core::JsonRepresentation
865
+ property :artifact_uri, as: 'artifactUri'
866
+ collection :manifest_paths, as: 'manifestPaths'
867
+ end
868
+ end
869
+
856
870
  class DeployJob
857
871
  # @private
858
872
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -862,6 +876,8 @@ module Google
862
876
  class DeployJobRun
863
877
  # @private
864
878
  class Representation < Google::Apis::Core::JsonRepresentation
879
+ property :artifact, as: 'artifact', class: Google::Apis::ClouddeployV1::DeployArtifact, decorator: Google::Apis::ClouddeployV1::DeployArtifact::Representation
880
+
865
881
  property :build, as: 'build'
866
882
  property :failure_cause, as: 'failureCause'
867
883
  property :failure_message, as: 'failureMessage'
@@ -1149,6 +1165,7 @@ module Google
1149
1165
  class PhaseArtifact
1150
1166
  # @private
1151
1167
  class Representation < Google::Apis::Core::JsonRepresentation
1168
+ property :job_manifests_path, as: 'jobManifestsPath'
1152
1169
  property :manifest_path, as: 'manifestPath'
1153
1170
  property :skaffold_config_path, as: 'skaffoldConfigPath'
1154
1171
  end
@@ -1355,6 +1372,7 @@ module Google
1355
1372
  # @private
1356
1373
  class Representation < Google::Apis::Core::JsonRepresentation
1357
1374
  property :deployment, as: 'deployment'
1375
+ property :disable_pod_overprovisioning, as: 'disablePodOverprovisioning'
1358
1376
  property :service, as: 'service'
1359
1377
  end
1360
1378
  end
@@ -1329,8 +1329,8 @@ module Google
1329
1329
  # Required. The name of the `Target` to delete. Format should be projects/`
1330
1330
  # project_id`/locations/`location_name`/targets/`target_name`.
1331
1331
  # @param [Boolean] allow_missing
1332
- # Optional. If set to true, then deleting an already deleted or non-existing
1333
- # DeliveryPipeline will succeed.
1332
+ # Optional. If set to true, then deleting an already deleted or non-existing `
1333
+ # Target` will succeed.
1334
1334
  # @param [String] etag
1335
1335
  # Optional. This checksum is computed by the server based on the value of other
1336
1336
  # fields, and may be sent on update and delete requests to ensure the client has
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.24.0
4
+ version: 0.26.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: 2023-04-30 00:00:00.000000000 Z
11
+ date: 2023-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.26.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: []