google-apis-clouddeploy_v1 0.17.0 → 0.19.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: 342ede494edde489decaa45d02827882656c614df20ccf7a163e9f69f816e60c
4
- data.tar.gz: 55543721b02504cef17030647d440a3fff58f734a3cf48fd5bde6fb273627cee
3
+ metadata.gz: 0b282227266707c18d0e75e4a55de7db6677c75d493e2ce3cea351f439aa30ce
4
+ data.tar.gz: ba06ba4dfcd88b8172e71184a573124e088dbdfeb56d9572aa002d712aa7b890
5
5
  SHA512:
6
- metadata.gz: 65b59e79c5701018b8d0819a8f8588b8aaefaf86beb5708a62cecae0c2f2a75e5ac3dae3f0da808c7529e62c9d7f27fad97579ebdc98e87ac9992318a94d10e0
7
- data.tar.gz: afa0fc5947ad1966440d7911aee637cd99d7aaee59c011019e6ad6f153bde21b217167a0549f51a96ffc5e18bd252621d62f1b736cdbee294dba05bb485722ef
6
+ metadata.gz: ec625752c2019ace75d8a7c15be02257fb0ca9c93d653b9daf89010501eda2152b711e58bb804c266c7eaa7398e3508cbc78714dd98f57d9d371b27da5a59f22
7
+ data.tar.gz: c9826befe021b34ba1ca9db252bcca264c17e0d7874929db5e1528b12cf3c9c07dd985a8bf583bd44e86e89949e7a01746520fc6ecc8dfad0500a1d6fceaa22d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.19.0 (2023-01-29)
4
+
5
+ * Regenerated from discovery document revision 20230118
6
+ * Regenerated using generator version 0.11.1
7
+
8
+ ### v0.18.0 (2022-12-19)
9
+
10
+ * Regenerated from discovery document revision 20221208
11
+
3
12
  ### v0.17.0 (2022-10-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20221020
@@ -344,8 +344,8 @@ module Google
344
344
  class Config
345
345
  include Google::Apis::Core::Hashable
346
346
 
347
- # Output only. Default Skaffold version that is assigned when a Release is
348
- # created without specifying a Skaffold version.
347
+ # Default Skaffold version that is assigned when a Release is created without
348
+ # specifying a Skaffold version.
349
349
  # Corresponds to the JSON property `defaultSkaffoldVersion`
350
350
  # @return [String]
351
351
  attr_accessor :default_skaffold_version
@@ -355,7 +355,7 @@ module Google
355
355
  # @return [String]
356
356
  attr_accessor :name
357
357
 
358
- # Output only. All supported versions of Skaffold.
358
+ # All supported versions of Skaffold.
359
359
  # Corresponds to the JSON property `supportedVersions`
360
360
  # @return [Array<Google::Apis::ClouddeployV1::SkaffoldVersion>]
361
361
  attr_accessor :supported_versions
@@ -1462,6 +1462,12 @@ module Google
1462
1462
  # @return [Google::Apis::ClouddeployV1::TargetsPresentCondition]
1463
1463
  attr_accessor :targets_present_condition
1464
1464
 
1465
+ # TargetsTypeCondition contains information on whether the Targets defined in
1466
+ # the Delivery Pipeline are of the same type.
1467
+ # Corresponds to the JSON property `targetsTypeCondition`
1468
+ # @return [Google::Apis::ClouddeployV1::TargetsTypeCondition]
1469
+ attr_accessor :targets_type_condition
1470
+
1465
1471
  def initialize(**args)
1466
1472
  update!(**args)
1467
1473
  end
@@ -1470,6 +1476,7 @@ module Google
1470
1476
  def update!(**args)
1471
1477
  @pipeline_ready_condition = args[:pipeline_ready_condition] if args.key?(:pipeline_ready_condition)
1472
1478
  @targets_present_condition = args[:targets_present_condition] if args.key?(:targets_present_condition)
1479
+ @targets_type_condition = args[:targets_type_condition] if args.key?(:targets_type_condition)
1473
1480
  end
1474
1481
  end
1475
1482
 
@@ -2517,7 +2524,7 @@ module Google
2517
2524
  class TargetsPresentCondition
2518
2525
  include Google::Apis::Core::Hashable
2519
2526
 
2520
- # The list of Target names that are missing. For example, projects/`project_id`/
2527
+ # The list of Target names that do not exist. For example, projects/`project_id`/
2521
2528
  # locations/`location_name`/targets/`target_name`.
2522
2529
  # Corresponds to the JSON property `missingTargets`
2523
2530
  # @return [Array<String>]
@@ -2546,6 +2553,35 @@ module Google
2546
2553
  end
2547
2554
  end
2548
2555
 
2556
+ # TargetsTypeCondition contains information on whether the Targets defined in
2557
+ # the Delivery Pipeline are of the same type.
2558
+ class TargetsTypeCondition
2559
+ include Google::Apis::Core::Hashable
2560
+
2561
+ # Human readable error message.
2562
+ # Corresponds to the JSON property `errorDetails`
2563
+ # @return [String]
2564
+ attr_accessor :error_details
2565
+
2566
+ # True if the targets are all a comparable type. For example this is true if all
2567
+ # targets are GKE clusters. This is false if some targets are Cloud Run targets
2568
+ # and others are GKE clusters.
2569
+ # Corresponds to the JSON property `status`
2570
+ # @return [Boolean]
2571
+ attr_accessor :status
2572
+ alias_method :status?, :status
2573
+
2574
+ def initialize(**args)
2575
+ update!(**args)
2576
+ end
2577
+
2578
+ # Update properties of this object
2579
+ def update!(**args)
2580
+ @error_details = args[:error_details] if args.key?(:error_details)
2581
+ @status = args[:status] if args.key?(:status)
2582
+ end
2583
+ end
2584
+
2549
2585
  # Request message for `TestIamPermissions` method.
2550
2586
  class TestIamPermissionsRequest
2551
2587
  include Google::Apis::Core::Hashable
@@ -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.17.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221020"
25
+ REVISION = "20230118"
26
26
  end
27
27
  end
28
28
  end
@@ -400,6 +400,12 @@ module Google
400
400
  include Google::Apis::Core::JsonObjectSupport
401
401
  end
402
402
 
403
+ class TargetsTypeCondition
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
403
409
  class TestIamPermissionsRequest
404
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
411
 
@@ -816,6 +822,8 @@ module Google
816
822
 
817
823
  property :targets_present_condition, as: 'targetsPresentCondition', class: Google::Apis::ClouddeployV1::TargetsPresentCondition, decorator: Google::Apis::ClouddeployV1::TargetsPresentCondition::Representation
818
824
 
825
+ property :targets_type_condition, as: 'targetsTypeCondition', class: Google::Apis::ClouddeployV1::TargetsTypeCondition, decorator: Google::Apis::ClouddeployV1::TargetsTypeCondition::Representation
826
+
819
827
  end
820
828
  end
821
829
 
@@ -1069,6 +1077,14 @@ module Google
1069
1077
  end
1070
1078
  end
1071
1079
 
1080
+ class TargetsTypeCondition
1081
+ # @private
1082
+ class Representation < Google::Apis::Core::JsonRepresentation
1083
+ property :error_details, as: 'errorDetails'
1084
+ property :status, as: 'status'
1085
+ end
1086
+ end
1087
+
1072
1088
  class TestIamPermissionsRequest
1073
1089
  # @private
1074
1090
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -752,6 +752,9 @@ module Google
752
752
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
753
753
  # @param [String] rollout_id
754
754
  # Required. ID of the `Rollout`.
755
+ # @param [String] starting_phase_id
756
+ # Optional. The starting phase ID for the `Rollout`. If empty the `Rollout` will
757
+ # start at the first phase.
755
758
  # @param [Boolean] validate_only
756
759
  # Optional. If set to true, the request is validated and the user is provided
757
760
  # with an expected result, but no actual change is made.
@@ -772,7 +775,7 @@ module Google
772
775
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
773
776
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
774
777
  # @raise [Google::Apis::AuthorizationError] Authorization is required
775
- def create_project_location_delivery_pipeline_release_rollout(parent, rollout_object = nil, request_id: nil, rollout_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
778
+ def create_project_location_delivery_pipeline_release_rollout(parent, rollout_object = nil, request_id: nil, rollout_id: nil, starting_phase_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
776
779
  command = make_simple_command(:post, 'v1/{+parent}/rollouts', options)
777
780
  command.request_representation = Google::Apis::ClouddeployV1::Rollout::Representation
778
781
  command.request_object = rollout_object
@@ -781,6 +784,7 @@ module Google
781
784
  command.params['parent'] = parent unless parent.nil?
782
785
  command.query['requestId'] = request_id unless request_id.nil?
783
786
  command.query['rolloutId'] = rollout_id unless rollout_id.nil?
787
+ command.query['startingPhaseId'] = starting_phase_id unless starting_phase_id.nil?
784
788
  command.query['validateOnly'] = validate_only unless validate_only.nil?
785
789
  command.query['fields'] = fields unless fields.nil?
786
790
  command.query['quotaUser'] = quota_user unless quota_user.nil?
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.17.0
4
+ version: 0.19.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-10-31 00:00:00.000000000 Z
11
+ date: 2023-01-29 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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.19.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Cloud Deploy API V1