google-apis-clouddeploy_v1 0.26.0 → 0.28.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: 1e381aead7a5346aca51e959237a6feb4a7fce967161a35f6e6dfcc54b82b3e4
4
+ data.tar.gz: 3433072348c88a6d2789a88f388843cc461b97f95f777f0fbafb1ab3a21739fc
5
5
  SHA512:
6
- metadata.gz: bb40d60bb5f8db928cb247e1c755ab4629893bbfed2498cae7689bd4cb40fe467b7ad2ba14b51f265f5bd9f92a0811501ac545b04c6ab49916c8796c60acf53e
7
- data.tar.gz: 1a14e430f32247811d050487c7c66cc1b1c803abc108d4eb653fec78a60e59128d7e3280db3583d95e47eae4c1eb9075c9184d58f6616cadcb970b78c6e7f843
6
+ metadata.gz: 4c9584248a64e9ac365bc474757a767072bbdb15cb391f37a6da462028c31589e67a2792c9389be4b84a6380c1c3ec3de4703c77e0f459a71bdf104bf53abc22
7
+ data.tar.gz: 8e9fcc5153aca2502b91932024341c2c11a86ef1d31c9132ec3479c66807f3af40112a2dfe055fb0d7a7ee72a5cc445458095516fa58c7539637f86ed571fa27
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.28.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230712
6
+
7
+ ### v0.27.0 (2023-06-18)
8
+
9
+ * Regenerated from discovery document revision 20230609
10
+
3
11
  ### v0.26.0 (2023-06-11)
4
12
 
5
13
  * 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
@@ -1136,6 +1163,13 @@ module Google
1136
1163
  # @return [String]
1137
1164
  attr_accessor :http_route
1138
1165
 
1166
+ # Optional. The time to wait for route updates to propagate. The maximum
1167
+ # configurable time is 3 hours, in seconds format. If unspecified, there is no
1168
+ # wait time.
1169
+ # Corresponds to the JSON property `routeUpdateWaitTime`
1170
+ # @return [String]
1171
+ attr_accessor :route_update_wait_time
1172
+
1139
1173
  # Required. Name of the Kubernetes Service.
1140
1174
  # Corresponds to the JSON property `service`
1141
1175
  # @return [String]
@@ -1149,6 +1183,7 @@ module Google
1149
1183
  def update!(**args)
1150
1184
  @deployment = args[:deployment] if args.key?(:deployment)
1151
1185
  @http_route = args[:http_route] if args.key?(:http_route)
1186
+ @route_update_wait_time = args[:route_update_wait_time] if args.key?(:route_update_wait_time)
1152
1187
  @service = args[:service] if args.key?(:service)
1153
1188
  end
1154
1189
  end
@@ -2236,6 +2271,11 @@ module Google
2236
2271
  # @return [Google::Apis::ClouddeployV1::DeliveryPipeline]
2237
2272
  attr_accessor :delivery_pipeline_snapshot
2238
2273
 
2274
+ # Optional. The deploy parameters to use for all targets in this release.
2275
+ # Corresponds to the JSON property `deployParameters`
2276
+ # @return [Hash<String,String>]
2277
+ attr_accessor :deploy_parameters
2278
+
2239
2279
  # Description of the `Release`. Max length is 255 characters.
2240
2280
  # Corresponds to the JSON property `description`
2241
2281
  # @return [String]
@@ -2331,6 +2371,7 @@ module Google
2331
2371
  @condition = args[:condition] if args.key?(:condition)
2332
2372
  @create_time = args[:create_time] if args.key?(:create_time)
2333
2373
  @delivery_pipeline_snapshot = args[:delivery_pipeline_snapshot] if args.key?(:delivery_pipeline_snapshot)
2374
+ @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
2334
2375
  @description = args[:description] if args.key?(:description)
2335
2376
  @etag = args[:etag] if args.key?(:etag)
2336
2377
  @labels = args[:labels] if args.key?(:labels)
@@ -2942,6 +2983,11 @@ module Google
2942
2983
  class Stage
2943
2984
  include Google::Apis::Core::Hashable
2944
2985
 
2986
+ # Optional. The deploy parameters to use for the target in this stage.
2987
+ # Corresponds to the JSON property `deployParameters`
2988
+ # @return [Array<Google::Apis::ClouddeployV1::DeployParameters>]
2989
+ attr_accessor :deploy_parameters
2990
+
2945
2991
  # Skaffold profiles to use when rendering the manifest for this stage's `Target`.
2946
2992
  # Corresponds to the JSON property `profiles`
2947
2993
  # @return [Array<String>]
@@ -2967,6 +3013,7 @@ module Google
2967
3013
 
2968
3014
  # Update properties of this object
2969
3015
  def update!(**args)
3016
+ @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
2970
3017
  @profiles = args[:profiles] if args.key?(:profiles)
2971
3018
  @strategy = args[:strategy] if args.key?(:strategy)
2972
3019
  @target_id = args[:target_id] if args.key?(:target_id)
@@ -3079,6 +3126,11 @@ module Google
3079
3126
  # @return [String]
3080
3127
  attr_accessor :create_time
3081
3128
 
3129
+ # Optional. The deploy parameters to use for this target.
3130
+ # Corresponds to the JSON property `deployParameters`
3131
+ # @return [Hash<String,String>]
3132
+ attr_accessor :deploy_parameters
3133
+
3082
3134
  # Optional. Description of the `Target`. Max length is 255 characters.
3083
3135
  # Corresponds to the JSON property `description`
3084
3136
  # @return [String]
@@ -3163,6 +3215,7 @@ module Google
3163
3215
  @annotations = args[:annotations] if args.key?(:annotations)
3164
3216
  @anthos_cluster = args[:anthos_cluster] if args.key?(:anthos_cluster)
3165
3217
  @create_time = args[:create_time] if args.key?(:create_time)
3218
+ @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
3166
3219
  @description = args[:description] if args.key?(:description)
3167
3220
  @etag = args[:etag] if args.key?(:etag)
3168
3221
  @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.28.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 = "20230712"
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
@@ -940,6 +954,7 @@ module Google
940
954
  class Representation < Google::Apis::Core::JsonRepresentation
941
955
  property :deployment, as: 'deployment'
942
956
  property :http_route, as: 'httpRoute'
957
+ property :route_update_wait_time, as: 'routeUpdateWaitTime'
943
958
  property :service, as: 'service'
944
959
  end
945
960
  end
@@ -1234,6 +1249,7 @@ module Google
1234
1249
  property :create_time, as: 'createTime'
1235
1250
  property :delivery_pipeline_snapshot, as: 'deliveryPipelineSnapshot', class: Google::Apis::ClouddeployV1::DeliveryPipeline, decorator: Google::Apis::ClouddeployV1::DeliveryPipeline::Representation
1236
1251
 
1252
+ hash :deploy_parameters, as: 'deployParameters'
1237
1253
  property :description, as: 'description'
1238
1254
  property :etag, as: 'etag'
1239
1255
  hash :labels, as: 'labels'
@@ -1410,6 +1426,8 @@ module Google
1410
1426
  class Stage
1411
1427
  # @private
1412
1428
  class Representation < Google::Apis::Core::JsonRepresentation
1429
+ collection :deploy_parameters, as: 'deployParameters', class: Google::Apis::ClouddeployV1::DeployParameters, decorator: Google::Apis::ClouddeployV1::DeployParameters::Representation
1430
+
1413
1431
  collection :profiles, as: 'profiles'
1414
1432
  property :strategy, as: 'strategy', class: Google::Apis::ClouddeployV1::Strategy, decorator: Google::Apis::ClouddeployV1::Strategy::Representation
1415
1433
 
@@ -1450,6 +1468,7 @@ module Google
1450
1468
  property :anthos_cluster, as: 'anthosCluster', class: Google::Apis::ClouddeployV1::AnthosCluster, decorator: Google::Apis::ClouddeployV1::AnthosCluster::Representation
1451
1469
 
1452
1470
  property :create_time, as: 'createTime'
1471
+ hash :deploy_parameters, as: 'deployParameters'
1453
1472
  property :description, as: 'description'
1454
1473
  property :etag, as: 'etag'
1455
1474
  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.28.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-07-23 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.28.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: []