google-apis-clouddeploy_v1 0.26.0 → 0.27.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4073193310f2b1e8562c53fac874c0b3995015c5078cfce68c2e3d9f8db1c3c
4
- data.tar.gz: edce92750aeaf536c8cebb2d781cbd2bb66cf052247d8ad792bba4be56abe903
3
+ metadata.gz: b207ec9a29c7b40313412f7f87c041e0f0dd49b703a08c650909fadb2a47712e
4
+ data.tar.gz: b36ce9dfba18812a3494d7f1b3ca3b69ca76232ff91ba981c954a11827345594
5
5
  SHA512:
6
- metadata.gz: bb40d60bb5f8db928cb247e1c755ab4629893bbfed2498cae7689bd4cb40fe467b7ad2ba14b51f265f5bd9f92a0811501ac545b04c6ab49916c8796c60acf53e
7
- data.tar.gz: 1a14e430f32247811d050487c7c66cc1b1c803abc108d4eb653fec78a60e59128d7e3280db3583d95e47eae4c1eb9075c9184d58f6616cadcb970b78c6e7f843
6
+ metadata.gz: 0a6d723ee7d75a13ae2d15e6d0c50999238d97244f1639295e7d3c5736cb08a70966e034891c4ac3f5bda15b0c9d73f64d25f4d4c2377615aae1cd435cced313
7
+ data.tar.gz: ef2873dbf75b19e88e6766c52e986cac2afd43928725bb781265b22b2b574e0e65fa698c782de8983dfddbf88baaf19f57bfc4f411d58862d873706373a3bec6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.26.0 (2023-06-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20230602
@@ -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)
@@ -2942,6 +2975,11 @@ module Google
2942
2975
  class Stage
2943
2976
  include Google::Apis::Core::Hashable
2944
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
+
2945
2983
  # Skaffold profiles to use when rendering the manifest for this stage's `Target`.
2946
2984
  # Corresponds to the JSON property `profiles`
2947
2985
  # @return [Array<String>]
@@ -2967,6 +3005,7 @@ module Google
2967
3005
 
2968
3006
  # Update properties of this object
2969
3007
  def update!(**args)
3008
+ @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
2970
3009
  @profiles = args[:profiles] if args.key?(:profiles)
2971
3010
  @strategy = args[:strategy] if args.key?(:strategy)
2972
3011
  @target_id = args[:target_id] if args.key?(:target_id)
@@ -3079,6 +3118,11 @@ module Google
3079
3118
  # @return [String]
3080
3119
  attr_accessor :create_time
3081
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
+
3082
3126
  # Optional. Description of the `Target`. Max length is 255 characters.
3083
3127
  # Corresponds to the JSON property `description`
3084
3128
  # @return [String]
@@ -3163,6 +3207,7 @@ module Google
3163
3207
  @annotations = args[:annotations] if args.key?(:annotations)
3164
3208
  @anthos_cluster = args[:anthos_cluster] if args.key?(:anthos_cluster)
3165
3209
  @create_time = args[:create_time] if args.key?(:create_time)
3210
+ @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
3166
3211
  @description = args[:description] if args.key?(:description)
3167
3212
  @etag = args[:etag] if args.key?(:etag)
3168
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.26.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 = "20230602"
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'
@@ -1410,6 +1425,8 @@ module Google
1410
1425
  class Stage
1411
1426
  # @private
1412
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
+
1413
1430
  collection :profiles, as: 'profiles'
1414
1431
  property :strategy, as: 'strategy', class: Google::Apis::ClouddeployV1::Strategy, decorator: Google::Apis::ClouddeployV1::Strategy::Representation
1415
1432
 
@@ -1450,6 +1467,7 @@ module Google
1450
1467
  property :anthos_cluster, as: 'anthosCluster', class: Google::Apis::ClouddeployV1::AnthosCluster, decorator: Google::Apis::ClouddeployV1::AnthosCluster::Representation
1451
1468
 
1452
1469
  property :create_time, as: 'createTime'
1470
+ hash :deploy_parameters, as: 'deployParameters'
1453
1471
  property :description, as: 'description'
1454
1472
  property :etag, as: 'etag'
1455
1473
  collection :execution_configs, as: 'executionConfigs', class: Google::Apis::ClouddeployV1::ExecutionConfig, decorator: Google::Apis::ClouddeployV1::ExecutionConfig::Representation
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.26.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-06-11 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.26.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: []