google-apis-clouddeploy_v1 0.25.0 → 0.27.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: cab3e1e8a7010ee4a042b3d2315698918dd4feed57a3b30b2a58681cd652b540
4
- data.tar.gz: d998da5955797f6158116ec140321905190c0dc819623a4f246c80d2bc04586b
3
+ metadata.gz: b207ec9a29c7b40313412f7f87c041e0f0dd49b703a08c650909fadb2a47712e
4
+ data.tar.gz: b36ce9dfba18812a3494d7f1b3ca3b69ca76232ff91ba981c954a11827345594
5
5
  SHA512:
6
- metadata.gz: 70ef5c489e0642171e4270d66ee4fad19136a1274b7455305a8b5fb5a8b5a49f50b43bb366965de03e5050f20533de31287d96bea493b3676c3a828e70d5bfff
7
- data.tar.gz: 150d583b61515fd0f3c8538d261fd79bfcc2788c53cf7637f2ad4739343f72e5c4432f99ac9f257d42b90050f683394d3c974bde4a808f5bb4ee192f7dd3b1a7
6
+ metadata.gz: 0a6d723ee7d75a13ae2d15e6d0c50999238d97244f1639295e7d3c5736cb08a70966e034891c4ac3f5bda15b0c9d73f64d25f4d4c2377615aae1cd435cced313
7
+ data.tar.gz: ef2873dbf75b19e88e6766c52e986cac2afd43928725bb781265b22b2b574e0e65fa698c782de8983dfddbf88baaf19f57bfc4f411d58862d873706373a3bec6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.27.0 (2023-06-18)
4
+
5
+ * Regenerated from discovery document revision 20230609
6
+
7
+ ### v0.26.0 (2023-06-11)
8
+
9
+ * Regenerated from discovery document revision 20230602
10
+
3
11
  ### v0.25.0 (2023-05-07)
4
12
 
5
13
  * Regenerated from discovery document revision 20230426
@@ -963,6 +963,33 @@ module Google
963
963
  end
964
964
  end
965
965
 
966
+ # DeployParameters contains deploy parameters information.
967
+ class DeployParameters
968
+ include Google::Apis::Core::Hashable
969
+
970
+ # Optional. Deploy parameters are applied to targets with match labels. If
971
+ # unspecified, deploy parameters are applied to all targets (including child
972
+ # targets of a multi-target).
973
+ # Corresponds to the JSON property `matchTargetLabels`
974
+ # @return [Hash<String,String>]
975
+ attr_accessor :match_target_labels
976
+
977
+ # Required. Values are deploy parameters in key-value pairs.
978
+ # Corresponds to the JSON property `values`
979
+ # @return [Hash<String,String>]
980
+ attr_accessor :values
981
+
982
+ def initialize(**args)
983
+ update!(**args)
984
+ end
985
+
986
+ # Update properties of this object
987
+ def update!(**args)
988
+ @match_target_labels = args[:match_target_labels] if args.key?(:match_target_labels)
989
+ @values = args[:values] if args.key?(:values)
990
+ end
991
+ end
992
+
966
993
  # Deployment job composition.
967
994
  class DeploymentJobs
968
995
  include Google::Apis::Core::Hashable
@@ -2236,6 +2263,11 @@ module Google
2236
2263
  # @return [Google::Apis::ClouddeployV1::DeliveryPipeline]
2237
2264
  attr_accessor :delivery_pipeline_snapshot
2238
2265
 
2266
+ # Optional. The deploy parameters to use for all targets in this release.
2267
+ # Corresponds to the JSON property `deployParameters`
2268
+ # @return [Hash<String,String>]
2269
+ attr_accessor :deploy_parameters
2270
+
2239
2271
  # Description of the `Release`. Max length is 255 characters.
2240
2272
  # Corresponds to the JSON property `description`
2241
2273
  # @return [String]
@@ -2331,6 +2363,7 @@ module Google
2331
2363
  @condition = args[:condition] if args.key?(:condition)
2332
2364
  @create_time = args[:create_time] if args.key?(:create_time)
2333
2365
  @delivery_pipeline_snapshot = args[:delivery_pipeline_snapshot] if args.key?(:delivery_pipeline_snapshot)
2366
+ @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
2334
2367
  @description = args[:description] if args.key?(:description)
2335
2368
  @etag = args[:etag] if args.key?(:etag)
2336
2369
  @labels = args[:labels] if args.key?(:labels)
@@ -2775,6 +2808,14 @@ module Google
2775
2808
  # @return [String]
2776
2809
  attr_accessor :deployment
2777
2810
 
2811
+ # Optional. Whether to disable Pod overprovisioning. If Pod overprovisioning is
2812
+ # disabled then Cloud Deploy will limit the number of total Pods used for the
2813
+ # deployment strategy to the number of Pods the Deployment has on the cluster.
2814
+ # Corresponds to the JSON property `disablePodOverprovisioning`
2815
+ # @return [Boolean]
2816
+ attr_accessor :disable_pod_overprovisioning
2817
+ alias_method :disable_pod_overprovisioning?, :disable_pod_overprovisioning
2818
+
2778
2819
  # Required. Name of the Kubernetes Service.
2779
2820
  # Corresponds to the JSON property `service`
2780
2821
  # @return [String]
@@ -2787,6 +2828,7 @@ module Google
2787
2828
  # Update properties of this object
2788
2829
  def update!(**args)
2789
2830
  @deployment = args[:deployment] if args.key?(:deployment)
2831
+ @disable_pod_overprovisioning = args[:disable_pod_overprovisioning] if args.key?(:disable_pod_overprovisioning)
2790
2832
  @service = args[:service] if args.key?(:service)
2791
2833
  end
2792
2834
  end
@@ -2933,6 +2975,11 @@ module Google
2933
2975
  class Stage
2934
2976
  include Google::Apis::Core::Hashable
2935
2977
 
2978
+ # Optional. The deploy parameters to use for the target in this stage.
2979
+ # Corresponds to the JSON property `deployParameters`
2980
+ # @return [Array<Google::Apis::ClouddeployV1::DeployParameters>]
2981
+ attr_accessor :deploy_parameters
2982
+
2936
2983
  # Skaffold profiles to use when rendering the manifest for this stage's `Target`.
2937
2984
  # Corresponds to the JSON property `profiles`
2938
2985
  # @return [Array<String>]
@@ -2958,6 +3005,7 @@ module Google
2958
3005
 
2959
3006
  # Update properties of this object
2960
3007
  def update!(**args)
3008
+ @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
2961
3009
  @profiles = args[:profiles] if args.key?(:profiles)
2962
3010
  @strategy = args[:strategy] if args.key?(:strategy)
2963
3011
  @target_id = args[:target_id] if args.key?(:target_id)
@@ -3070,6 +3118,11 @@ module Google
3070
3118
  # @return [String]
3071
3119
  attr_accessor :create_time
3072
3120
 
3121
+ # Optional. The deploy parameters to use for this target.
3122
+ # Corresponds to the JSON property `deployParameters`
3123
+ # @return [Hash<String,String>]
3124
+ attr_accessor :deploy_parameters
3125
+
3073
3126
  # Optional. Description of the `Target`. Max length is 255 characters.
3074
3127
  # Corresponds to the JSON property `description`
3075
3128
  # @return [String]
@@ -3154,6 +3207,7 @@ module Google
3154
3207
  @annotations = args[:annotations] if args.key?(:annotations)
3155
3208
  @anthos_cluster = args[:anthos_cluster] if args.key?(:anthos_cluster)
3156
3209
  @create_time = args[:create_time] if args.key?(:create_time)
3210
+ @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
3157
3211
  @description = args[:description] if args.key?(:description)
3158
3212
  @etag = args[:etag] if args.key?(:etag)
3159
3213
  @execution_configs = args[:execution_configs] if args.key?(:execution_configs)
@@ -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.25.0"
19
+ GEM_VERSION = "0.27.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 = "20230426"
25
+ REVISION = "20230609"
26
26
  end
27
27
  end
28
28
  end
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class DeployParameters
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class DeploymentJobs
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -894,6 +900,14 @@ module Google
894
900
  end
895
901
  end
896
902
 
903
+ class DeployParameters
904
+ # @private
905
+ class Representation < Google::Apis::Core::JsonRepresentation
906
+ hash :match_target_labels, as: 'matchTargetLabels'
907
+ hash :values, as: 'values'
908
+ end
909
+ end
910
+
897
911
  class DeploymentJobs
898
912
  # @private
899
913
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1234,6 +1248,7 @@ module Google
1234
1248
  property :create_time, as: 'createTime'
1235
1249
  property :delivery_pipeline_snapshot, as: 'deliveryPipelineSnapshot', class: Google::Apis::ClouddeployV1::DeliveryPipeline, decorator: Google::Apis::ClouddeployV1::DeliveryPipeline::Representation
1236
1250
 
1251
+ hash :deploy_parameters, as: 'deployParameters'
1237
1252
  property :description, as: 'description'
1238
1253
  property :etag, as: 'etag'
1239
1254
  hash :labels, as: 'labels'
@@ -1372,6 +1387,7 @@ module Google
1372
1387
  # @private
1373
1388
  class Representation < Google::Apis::Core::JsonRepresentation
1374
1389
  property :deployment, as: 'deployment'
1390
+ property :disable_pod_overprovisioning, as: 'disablePodOverprovisioning'
1375
1391
  property :service, as: 'service'
1376
1392
  end
1377
1393
  end
@@ -1409,6 +1425,8 @@ module Google
1409
1425
  class Stage
1410
1426
  # @private
1411
1427
  class Representation < Google::Apis::Core::JsonRepresentation
1428
+ collection :deploy_parameters, as: 'deployParameters', class: Google::Apis::ClouddeployV1::DeployParameters, decorator: Google::Apis::ClouddeployV1::DeployParameters::Representation
1429
+
1412
1430
  collection :profiles, as: 'profiles'
1413
1431
  property :strategy, as: 'strategy', class: Google::Apis::ClouddeployV1::Strategy, decorator: Google::Apis::ClouddeployV1::Strategy::Representation
1414
1432
 
@@ -1449,6 +1467,7 @@ module Google
1449
1467
  property :anthos_cluster, as: 'anthosCluster', class: Google::Apis::ClouddeployV1::AnthosCluster, decorator: Google::Apis::ClouddeployV1::AnthosCluster::Representation
1450
1468
 
1451
1469
  property :create_time, as: 'createTime'
1470
+ hash :deploy_parameters, as: 'deployParameters'
1452
1471
  property :description, as: 'description'
1453
1472
  property :etag, as: 'etag'
1454
1473
  collection :execution_configs, as: 'executionConfigs', class: Google::Apis::ClouddeployV1::ExecutionConfig, decorator: Google::Apis::ClouddeployV1::ExecutionConfig::Representation
@@ -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.25.0
4
+ version: 0.27.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-05-14 00:00:00.000000000 Z
11
+ date: 2023-06-25 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.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.27.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: []