google-cloud-deploy-v1 1.5.0 → 2.0.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: 35cc54d4627a363b4b56cd1dbf724daaa16f4c51722de702d2c5656c22796796
4
- data.tar.gz: 86ae468d789fc2a8f6e69bed8eb145294d36592606f46106828c5693292584a0
3
+ metadata.gz: 36080a2a4c37e943b7f7e57a137e6b96181d8a040c555379595178895d853b29
4
+ data.tar.gz: a2285854117ca0f9fba0c5fb70eb1a269844a8d90adfa09b6646a26a4ff89c6d
5
5
  SHA512:
6
- metadata.gz: 636af57c3c6ef0bf61afedaa79b7f4d6c05815e65713524995f2255d2f5d492d95c0ba91c904a9813350071e26053f491940e4d77d0df07a2a46d040d1fa907c
7
- data.tar.gz: bdeb2974f79e8414cf63cb9d404bf06b483b160f70a2fb792507d16b60588963d9fb72fd00a1ea1e7537213b9eb0b9bfd8be8b9475bf853a858b272eb2c9eb56
6
+ metadata.gz: 903c825fd8f118413578dcda664b1801bfcde33c59a5c581f769f1b75f89bdd3878f6f57eddcf28d41de69bca841e4478bb9042da17a7b516f564f2519213c82
7
+ data.tar.gz: abd9549262abc39cbd7298bded1e8c6eaa18cd2afd233d88dfe4e8289f932ef3a070a50b9047a2a991a41a9b35d4d43ea2ae815f4ffe5e980e355f7e0630cf40
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -5107,6 +5107,13 @@ module Google
5107
5107
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
5108
5108
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
5109
5109
  # * (`nil`) indicating no credentials
5110
+ #
5111
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
5112
+ # external source for authentication to Google Cloud, you must validate it before
5113
+ # providing it to a Google API client library. Providing an unvalidated credential
5114
+ # configuration to Google APIs can compromise the security of your systems and data.
5115
+ # For more information, refer to [Validate credential configurations from external
5116
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
5110
5117
  # @return [::Object]
5111
5118
  # @!attribute [rw] scope
5112
5119
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -408,10 +408,10 @@ module Google
408
408
  # @param order_by [::String]
409
409
  # Field to sort by. See https://google.aip.dev/132#ordering for more details.
410
410
  # @yield [result, operation] Access the result along with the TransportOperation object
411
- # @yieldparam result [::Google::Cloud::Deploy::V1::ListDeliveryPipelinesResponse]
411
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::DeliveryPipeline>]
412
412
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
413
413
  #
414
- # @return [::Google::Cloud::Deploy::V1::ListDeliveryPipelinesResponse]
414
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::DeliveryPipeline>]
415
415
  #
416
416
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
417
417
  #
@@ -463,7 +463,9 @@ module Google
463
463
  retry_policy: @config.retry_policy
464
464
 
465
465
  @cloud_deploy_stub.list_delivery_pipelines request, options do |result, operation|
466
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_deploy_stub, :list_delivery_pipelines, "delivery_pipelines", request, result, options
466
467
  yield result, operation if block_given?
468
+ throw :response, result
467
469
  end
468
470
  rescue ::Gapic::Rest::Error => e
469
471
  raise ::Google::Cloud::Error.from_error(e)
@@ -925,10 +927,10 @@ module Google
925
927
  # Optional. Field to sort by. See https://google.aip.dev/132#ordering for
926
928
  # more details.
927
929
  # @yield [result, operation] Access the result along with the TransportOperation object
928
- # @yieldparam result [::Google::Cloud::Deploy::V1::ListTargetsResponse]
930
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::Target>]
929
931
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
930
932
  #
931
- # @return [::Google::Cloud::Deploy::V1::ListTargetsResponse]
933
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::Target>]
932
934
  #
933
935
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
934
936
  #
@@ -980,7 +982,9 @@ module Google
980
982
  retry_policy: @config.retry_policy
981
983
 
982
984
  @cloud_deploy_stub.list_targets request, options do |result, operation|
985
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_deploy_stub, :list_targets, "targets", request, result, options
983
986
  yield result, operation if block_given?
987
+ throw :response, result
984
988
  end
985
989
  rescue ::Gapic::Rest::Error => e
986
990
  raise ::Google::Cloud::Error.from_error(e)
@@ -1538,10 +1542,10 @@ module Google
1538
1542
  # Optional. Field to sort by. See https://google.aip.dev/132#ordering for
1539
1543
  # more details.
1540
1544
  # @yield [result, operation] Access the result along with the TransportOperation object
1541
- # @yieldparam result [::Google::Cloud::Deploy::V1::ListCustomTargetTypesResponse]
1545
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::CustomTargetType>]
1542
1546
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1543
1547
  #
1544
- # @return [::Google::Cloud::Deploy::V1::ListCustomTargetTypesResponse]
1548
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::CustomTargetType>]
1545
1549
  #
1546
1550
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1547
1551
  #
@@ -1593,7 +1597,9 @@ module Google
1593
1597
  retry_policy: @config.retry_policy
1594
1598
 
1595
1599
  @cloud_deploy_stub.list_custom_target_types request, options do |result, operation|
1600
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_deploy_stub, :list_custom_target_types, "custom_target_types", request, result, options
1596
1601
  yield result, operation if block_given?
1602
+ throw :response, result
1597
1603
  end
1598
1604
  rescue ::Gapic::Rest::Error => e
1599
1605
  raise ::Google::Cloud::Error.from_error(e)
@@ -2051,10 +2057,10 @@ module Google
2051
2057
  # Optional. Field to sort by. See https://google.aip.dev/132#ordering for
2052
2058
  # more details.
2053
2059
  # @yield [result, operation] Access the result along with the TransportOperation object
2054
- # @yieldparam result [::Google::Cloud::Deploy::V1::ListReleasesResponse]
2060
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::Release>]
2055
2061
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2056
2062
  #
2057
- # @return [::Google::Cloud::Deploy::V1::ListReleasesResponse]
2063
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::Release>]
2058
2064
  #
2059
2065
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2060
2066
  #
@@ -2106,7 +2112,9 @@ module Google
2106
2112
  retry_policy: @config.retry_policy
2107
2113
 
2108
2114
  @cloud_deploy_stub.list_releases request, options do |result, operation|
2115
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_deploy_stub, :list_releases, "releases", request, result, options
2109
2116
  yield result, operation if block_given?
2117
+ throw :response, result
2110
2118
  end
2111
2119
  rescue ::Gapic::Rest::Error => e
2112
2120
  raise ::Google::Cloud::Error.from_error(e)
@@ -2755,10 +2763,10 @@ module Google
2755
2763
  # @param order_by [::String]
2756
2764
  # Field to sort by. See https://google.aip.dev/132#ordering for more details.
2757
2765
  # @yield [result, operation] Access the result along with the TransportOperation object
2758
- # @yieldparam result [::Google::Cloud::Deploy::V1::ListDeployPoliciesResponse]
2766
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::DeployPolicy>]
2759
2767
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2760
2768
  #
2761
- # @return [::Google::Cloud::Deploy::V1::ListDeployPoliciesResponse]
2769
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::DeployPolicy>]
2762
2770
  #
2763
2771
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2764
2772
  #
@@ -2810,7 +2818,9 @@ module Google
2810
2818
  retry_policy: @config.retry_policy
2811
2819
 
2812
2820
  @cloud_deploy_stub.list_deploy_policies request, options do |result, operation|
2821
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_deploy_stub, :list_deploy_policies, "deploy_policies", request, result, options
2813
2822
  yield result, operation if block_given?
2823
+ throw :response, result
2814
2824
  end
2815
2825
  rescue ::Gapic::Rest::Error => e
2816
2826
  raise ::Google::Cloud::Error.from_error(e)
@@ -3183,10 +3193,10 @@ module Google
3183
3193
  # Optional. Field to sort by. See https://google.aip.dev/132#ordering for
3184
3194
  # more details.
3185
3195
  # @yield [result, operation] Access the result along with the TransportOperation object
3186
- # @yieldparam result [::Google::Cloud::Deploy::V1::ListRolloutsResponse]
3196
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::Rollout>]
3187
3197
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
3188
3198
  #
3189
- # @return [::Google::Cloud::Deploy::V1::ListRolloutsResponse]
3199
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::Rollout>]
3190
3200
  #
3191
3201
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3192
3202
  #
@@ -3238,7 +3248,9 @@ module Google
3238
3248
  retry_policy: @config.retry_policy
3239
3249
 
3240
3250
  @cloud_deploy_stub.list_rollouts request, options do |result, operation|
3251
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_deploy_stub, :list_rollouts, "rollouts", request, result, options
3241
3252
  yield result, operation if block_given?
3253
+ throw :response, result
3242
3254
  end
3243
3255
  rescue ::Gapic::Rest::Error => e
3244
3256
  raise ::Google::Cloud::Error.from_error(e)
@@ -3649,10 +3661,10 @@ module Google
3649
3661
  # Optional. Field to sort by. See https://google.aip.dev/132#ordering for
3650
3662
  # more details.
3651
3663
  # @yield [result, operation] Access the result along with the TransportOperation object
3652
- # @yieldparam result [::Google::Cloud::Deploy::V1::ListJobRunsResponse]
3664
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::JobRun>]
3653
3665
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
3654
3666
  #
3655
- # @return [::Google::Cloud::Deploy::V1::ListJobRunsResponse]
3667
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::JobRun>]
3656
3668
  #
3657
3669
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3658
3670
  #
@@ -3704,7 +3716,9 @@ module Google
3704
3716
  retry_policy: @config.retry_policy
3705
3717
 
3706
3718
  @cloud_deploy_stub.list_job_runs request, options do |result, operation|
3719
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_deploy_stub, :list_job_runs, "job_runs", request, result, options
3707
3720
  yield result, operation if block_given?
3721
+ throw :response, result
3708
3722
  end
3709
3723
  rescue ::Gapic::Rest::Error => e
3710
3724
  raise ::Google::Cloud::Error.from_error(e)
@@ -4403,10 +4417,10 @@ module Google
4403
4417
  # @param order_by [::String]
4404
4418
  # Field to sort by.
4405
4419
  # @yield [result, operation] Access the result along with the TransportOperation object
4406
- # @yieldparam result [::Google::Cloud::Deploy::V1::ListAutomationsResponse]
4420
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::Automation>]
4407
4421
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
4408
4422
  #
4409
- # @return [::Google::Cloud::Deploy::V1::ListAutomationsResponse]
4423
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::Automation>]
4410
4424
  #
4411
4425
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4412
4426
  #
@@ -4458,7 +4472,9 @@ module Google
4458
4472
  retry_policy: @config.retry_policy
4459
4473
 
4460
4474
  @cloud_deploy_stub.list_automations request, options do |result, operation|
4475
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_deploy_stub, :list_automations, "automations", request, result, options
4461
4476
  yield result, operation if block_given?
4477
+ throw :response, result
4462
4478
  end
4463
4479
  rescue ::Gapic::Rest::Error => e
4464
4480
  raise ::Google::Cloud::Error.from_error(e)
@@ -4582,10 +4598,10 @@ module Google
4582
4598
  # @param order_by [::String]
4583
4599
  # Field to sort by.
4584
4600
  # @yield [result, operation] Access the result along with the TransportOperation object
4585
- # @yieldparam result [::Google::Cloud::Deploy::V1::ListAutomationRunsResponse]
4601
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::AutomationRun>]
4586
4602
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
4587
4603
  #
4588
- # @return [::Google::Cloud::Deploy::V1::ListAutomationRunsResponse]
4604
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Deploy::V1::AutomationRun>]
4589
4605
  #
4590
4606
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4591
4607
  #
@@ -4637,7 +4653,9 @@ module Google
4637
4653
  retry_policy: @config.retry_policy
4638
4654
 
4639
4655
  @cloud_deploy_stub.list_automation_runs request, options do |result, operation|
4656
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_deploy_stub, :list_automation_runs, "automation_runs", request, result, options
4640
4657
  yield result, operation if block_given?
4658
+ throw :response, result
4641
4659
  end
4642
4660
  rescue ::Gapic::Rest::Error => e
4643
4661
  raise ::Google::Cloud::Error.from_error(e)
@@ -4767,6 +4785,13 @@ module Google
4767
4785
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
4768
4786
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
4769
4787
  # * (`nil`) indicating no credentials
4788
+ #
4789
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
4790
+ # external source for authentication to Google Cloud, you must validate it before
4791
+ # providing it to a Google API client library. Providing an unvalidated credential
4792
+ # configuration to Google APIs can compromise the security of your systems and data.
4793
+ # For more information, refer to [Validate credential configurations from external
4794
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
4770
4795
  # @return [::Object]
4771
4796
  # @!attribute [rw] scope
4772
4797
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Deploy
23
23
  module V1
24
- VERSION = "1.5.0"
24
+ VERSION = "2.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -170,10 +170,14 @@ module Google
170
170
  # @return [::Google::Cloud::Deploy::V1::Standard]
171
171
  # Standard deployment strategy executes a single deploy and allows
172
172
  # verifying the deployment.
173
+ #
174
+ # Note: The following fields are mutually exclusive: `standard`, `canary`. If a field in that set is populated, all other fields in the set will automatically be cleared.
173
175
  # @!attribute [rw] canary
174
176
  # @return [::Google::Cloud::Deploy::V1::Canary]
175
177
  # Canary deployment strategy provides progressive percentage based
176
178
  # deployments to a Target.
179
+ #
180
+ # Note: The following fields are mutually exclusive: `canary`, `standard`. If a field in that set is populated, all other fields in the set will automatically be cleared.
177
181
  class Strategy
178
182
  include ::Google::Protobuf::MessageExts
179
183
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -225,11 +229,15 @@ module Google
225
229
  # @!attribute [rw] canary_deployment
226
230
  # @return [::Google::Cloud::Deploy::V1::CanaryDeployment]
227
231
  # Configures the progressive based deployment for a Target.
232
+ #
233
+ # Note: The following fields are mutually exclusive: `canary_deployment`, `custom_canary_deployment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
228
234
  # @!attribute [rw] custom_canary_deployment
229
235
  # @return [::Google::Cloud::Deploy::V1::CustomCanaryDeployment]
230
236
  # Configures the progressive based deployment for a Target, but allows
231
237
  # customizing at the phase level where a phase represents each of the
232
238
  # percentage deployments.
239
+ #
240
+ # Note: The following fields are mutually exclusive: `custom_canary_deployment`, `canary_deployment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
233
241
  class Canary
234
242
  include ::Google::Protobuf::MessageExts
235
243
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -307,9 +315,13 @@ module Google
307
315
  # @!attribute [rw] gateway_service_mesh
308
316
  # @return [::Google::Cloud::Deploy::V1::KubernetesConfig::GatewayServiceMesh]
309
317
  # Kubernetes Gateway API service mesh configuration.
318
+ #
319
+ # Note: The following fields are mutually exclusive: `gateway_service_mesh`, `service_networking`. If a field in that set is populated, all other fields in the set will automatically be cleared.
310
320
  # @!attribute [rw] service_networking
311
321
  # @return [::Google::Cloud::Deploy::V1::KubernetesConfig::ServiceNetworking]
312
322
  # Kubernetes Service networking configuration.
323
+ #
324
+ # Note: The following fields are mutually exclusive: `service_networking`, `gateway_service_mesh`. If a field in that set is populated, all other fields in the set will automatically be cleared.
313
325
  class KubernetesConfig
314
326
  include ::Google::Protobuf::MessageExts
315
327
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -424,9 +436,13 @@ module Google
424
436
  # @!attribute [rw] kubernetes
425
437
  # @return [::Google::Cloud::Deploy::V1::KubernetesConfig]
426
438
  # Kubernetes runtime configuration.
439
+ #
440
+ # Note: The following fields are mutually exclusive: `kubernetes`, `cloud_run`. If a field in that set is populated, all other fields in the set will automatically be cleared.
427
441
  # @!attribute [rw] cloud_run
428
442
  # @return [::Google::Cloud::Deploy::V1::CloudRunConfig]
429
443
  # Cloud Run runtime configuration.
444
+ #
445
+ # Note: The following fields are mutually exclusive: `cloud_run`, `kubernetes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
430
446
  class RuntimeConfig
431
447
  include ::Google::Protobuf::MessageExts
432
448
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -777,18 +793,28 @@ module Google
777
793
  # @!attribute [rw] gke
778
794
  # @return [::Google::Cloud::Deploy::V1::GkeCluster]
779
795
  # Optional. Information specifying a GKE Cluster.
796
+ #
797
+ # Note: The following fields are mutually exclusive: `gke`, `anthos_cluster`, `run`, `multi_target`, `custom_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
780
798
  # @!attribute [rw] anthos_cluster
781
799
  # @return [::Google::Cloud::Deploy::V1::AnthosCluster]
782
800
  # Optional. Information specifying an Anthos Cluster.
801
+ #
802
+ # Note: The following fields are mutually exclusive: `anthos_cluster`, `gke`, `run`, `multi_target`, `custom_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
783
803
  # @!attribute [rw] run
784
804
  # @return [::Google::Cloud::Deploy::V1::CloudRunLocation]
785
805
  # Optional. Information specifying a Cloud Run deployment target.
806
+ #
807
+ # Note: The following fields are mutually exclusive: `run`, `gke`, `anthos_cluster`, `multi_target`, `custom_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
786
808
  # @!attribute [rw] multi_target
787
809
  # @return [::Google::Cloud::Deploy::V1::MultiTarget]
788
810
  # Optional. Information specifying a multiTarget.
811
+ #
812
+ # Note: The following fields are mutually exclusive: `multi_target`, `gke`, `anthos_cluster`, `run`, `custom_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
789
813
  # @!attribute [rw] custom_target
790
814
  # @return [::Google::Cloud::Deploy::V1::CustomTarget]
791
815
  # Optional. Information specifying a Custom Target.
816
+ #
817
+ # Note: The following fields are mutually exclusive: `custom_target`, `gke`, `anthos_cluster`, `run`, `multi_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
792
818
  # @!attribute [rw] associated_entities
793
819
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Deploy::V1::AssociatedEntities}]
794
820
  # Optional. Map of entity IDs to their associated entities. Associated
@@ -864,9 +890,13 @@ module Google
864
890
  # @!attribute [rw] default_pool
865
891
  # @return [::Google::Cloud::Deploy::V1::DefaultPool]
866
892
  # Optional. Use default Cloud Build pool.
893
+ #
894
+ # Note: The following fields are mutually exclusive: `default_pool`, `private_pool`. If a field in that set is populated, all other fields in the set will automatically be cleared.
867
895
  # @!attribute [rw] private_pool
868
896
  # @return [::Google::Cloud::Deploy::V1::PrivatePool]
869
897
  # Optional. Use private Cloud Build pool.
898
+ #
899
+ # Note: The following fields are mutually exclusive: `private_pool`, `default_pool`. If a field in that set is populated, all other fields in the set will automatically be cleared.
870
900
  # @!attribute [rw] worker_pool
871
901
  # @return [::String]
872
902
  # Optional. The resource name of the `WorkerPool`, with the format
@@ -1313,12 +1343,18 @@ module Google
1313
1343
  # @!attribute [rw] git
1314
1344
  # @return [::Google::Cloud::Deploy::V1::SkaffoldModules::SkaffoldGitSource]
1315
1345
  # Remote git repository containing the Skaffold Config modules.
1346
+ #
1347
+ # Note: The following fields are mutually exclusive: `git`, `google_cloud_storage`, `google_cloud_build_repo`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1316
1348
  # @!attribute [rw] google_cloud_storage
1317
1349
  # @return [::Google::Cloud::Deploy::V1::SkaffoldModules::SkaffoldGCSSource]
1318
1350
  # Cloud Storage bucket containing the Skaffold Config modules.
1351
+ #
1352
+ # Note: The following fields are mutually exclusive: `google_cloud_storage`, `git`, `google_cloud_build_repo`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1319
1353
  # @!attribute [rw] google_cloud_build_repo
1320
1354
  # @return [::Google::Cloud::Deploy::V1::SkaffoldModules::SkaffoldGCBRepoSource]
1321
1355
  # Cloud Build V2 repository containing the Skaffold Config modules.
1356
+ #
1357
+ # Note: The following fields are mutually exclusive: `google_cloud_build_repo`, `git`, `google_cloud_storage`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1322
1358
  class SkaffoldModules
1323
1359
  include ::Google::Protobuf::MessageExts
1324
1360
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2836,9 +2872,13 @@ module Google
2836
2872
  # @!attribute [r] deployment_jobs
2837
2873
  # @return [::Google::Cloud::Deploy::V1::DeploymentJobs]
2838
2874
  # Output only. Deployment job composition.
2875
+ #
2876
+ # Note: The following fields are mutually exclusive: `deployment_jobs`, `child_rollout_jobs`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2839
2877
  # @!attribute [r] child_rollout_jobs
2840
2878
  # @return [::Google::Cloud::Deploy::V1::ChildRolloutJobs]
2841
2879
  # Output only. ChildRollout job composition.
2880
+ #
2881
+ # Note: The following fields are mutually exclusive: `child_rollout_jobs`, `deployment_jobs`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2842
2882
  class Phase
2843
2883
  include ::Google::Protobuf::MessageExts
2844
2884
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2916,21 +2956,33 @@ module Google
2916
2956
  # @!attribute [r] deploy_job
2917
2957
  # @return [::Google::Cloud::Deploy::V1::DeployJob]
2918
2958
  # Output only. A deploy Job.
2959
+ #
2960
+ # Note: The following fields are mutually exclusive: `deploy_job`, `verify_job`, `predeploy_job`, `postdeploy_job`, `create_child_rollout_job`, `advance_child_rollout_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2919
2961
  # @!attribute [r] verify_job
2920
2962
  # @return [::Google::Cloud::Deploy::V1::VerifyJob]
2921
2963
  # Output only. A verify Job.
2964
+ #
2965
+ # Note: The following fields are mutually exclusive: `verify_job`, `deploy_job`, `predeploy_job`, `postdeploy_job`, `create_child_rollout_job`, `advance_child_rollout_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2922
2966
  # @!attribute [r] predeploy_job
2923
2967
  # @return [::Google::Cloud::Deploy::V1::PredeployJob]
2924
2968
  # Output only. A predeploy Job.
2969
+ #
2970
+ # Note: The following fields are mutually exclusive: `predeploy_job`, `deploy_job`, `verify_job`, `postdeploy_job`, `create_child_rollout_job`, `advance_child_rollout_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2925
2971
  # @!attribute [r] postdeploy_job
2926
2972
  # @return [::Google::Cloud::Deploy::V1::PostdeployJob]
2927
2973
  # Output only. A postdeploy Job.
2974
+ #
2975
+ # Note: The following fields are mutually exclusive: `postdeploy_job`, `deploy_job`, `verify_job`, `predeploy_job`, `create_child_rollout_job`, `advance_child_rollout_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2928
2976
  # @!attribute [r] create_child_rollout_job
2929
2977
  # @return [::Google::Cloud::Deploy::V1::CreateChildRolloutJob]
2930
2978
  # Output only. A createChildRollout Job.
2979
+ #
2980
+ # Note: The following fields are mutually exclusive: `create_child_rollout_job`, `deploy_job`, `verify_job`, `predeploy_job`, `postdeploy_job`, `advance_child_rollout_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2931
2981
  # @!attribute [r] advance_child_rollout_job
2932
2982
  # @return [::Google::Cloud::Deploy::V1::AdvanceChildRolloutJob]
2933
2983
  # Output only. An advanceChildRollout Job.
2984
+ #
2985
+ # Note: The following fields are mutually exclusive: `advance_child_rollout_job`, `deploy_job`, `verify_job`, `predeploy_job`, `postdeploy_job`, `create_child_rollout_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2934
2986
  class Job
2935
2987
  include ::Google::Protobuf::MessageExts
2936
2988
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3305,21 +3357,33 @@ module Google
3305
3357
  # @!attribute [r] deploy_job_run
3306
3358
  # @return [::Google::Cloud::Deploy::V1::DeployJobRun]
3307
3359
  # Output only. Information specific to a deploy `JobRun`.
3360
+ #
3361
+ # Note: The following fields are mutually exclusive: `deploy_job_run`, `verify_job_run`, `predeploy_job_run`, `postdeploy_job_run`, `create_child_rollout_job_run`, `advance_child_rollout_job_run`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3308
3362
  # @!attribute [r] verify_job_run
3309
3363
  # @return [::Google::Cloud::Deploy::V1::VerifyJobRun]
3310
3364
  # Output only. Information specific to a verify `JobRun`.
3365
+ #
3366
+ # Note: The following fields are mutually exclusive: `verify_job_run`, `deploy_job_run`, `predeploy_job_run`, `postdeploy_job_run`, `create_child_rollout_job_run`, `advance_child_rollout_job_run`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3311
3367
  # @!attribute [r] predeploy_job_run
3312
3368
  # @return [::Google::Cloud::Deploy::V1::PredeployJobRun]
3313
3369
  # Output only. Information specific to a predeploy `JobRun`.
3370
+ #
3371
+ # Note: The following fields are mutually exclusive: `predeploy_job_run`, `deploy_job_run`, `verify_job_run`, `postdeploy_job_run`, `create_child_rollout_job_run`, `advance_child_rollout_job_run`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3314
3372
  # @!attribute [r] postdeploy_job_run
3315
3373
  # @return [::Google::Cloud::Deploy::V1::PostdeployJobRun]
3316
3374
  # Output only. Information specific to a postdeploy `JobRun`.
3375
+ #
3376
+ # Note: The following fields are mutually exclusive: `postdeploy_job_run`, `deploy_job_run`, `verify_job_run`, `predeploy_job_run`, `create_child_rollout_job_run`, `advance_child_rollout_job_run`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3317
3377
  # @!attribute [r] create_child_rollout_job_run
3318
3378
  # @return [::Google::Cloud::Deploy::V1::CreateChildRolloutJobRun]
3319
3379
  # Output only. Information specific to a createChildRollout `JobRun`.
3380
+ #
3381
+ # Note: The following fields are mutually exclusive: `create_child_rollout_job_run`, `deploy_job_run`, `verify_job_run`, `predeploy_job_run`, `postdeploy_job_run`, `advance_child_rollout_job_run`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3320
3382
  # @!attribute [r] advance_child_rollout_job_run
3321
3383
  # @return [::Google::Cloud::Deploy::V1::AdvanceChildRolloutJobRun]
3322
3384
  # Output only. Information specific to an advanceChildRollout `JobRun`
3385
+ #
3386
+ # Note: The following fields are mutually exclusive: `advance_child_rollout_job_run`, `deploy_job_run`, `verify_job_run`, `predeploy_job_run`, `postdeploy_job_run`, `create_child_rollout_job_run`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3323
3387
  # @!attribute [r] etag
3324
3388
  # @return [::String]
3325
3389
  # Output only. This checksum is computed by the server based on the value of
@@ -3799,19 +3863,27 @@ module Google
3799
3863
  # @return [::Google::Cloud::Deploy::V1::PromoteReleaseRule]
3800
3864
  # Optional. `PromoteReleaseRule` will automatically promote a release from
3801
3865
  # the current target to a specified target.
3866
+ #
3867
+ # Note: The following fields are mutually exclusive: `promote_release_rule`, `advance_rollout_rule`, `repair_rollout_rule`, `timed_promote_release_rule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3802
3868
  # @!attribute [rw] advance_rollout_rule
3803
3869
  # @return [::Google::Cloud::Deploy::V1::AdvanceRolloutRule]
3804
3870
  # Optional. The `AdvanceRolloutRule` will automatically advance a
3805
3871
  # successful Rollout.
3872
+ #
3873
+ # Note: The following fields are mutually exclusive: `advance_rollout_rule`, `promote_release_rule`, `repair_rollout_rule`, `timed_promote_release_rule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3806
3874
  # @!attribute [rw] repair_rollout_rule
3807
3875
  # @return [::Google::Cloud::Deploy::V1::RepairRolloutRule]
3808
3876
  # Optional. The `RepairRolloutRule` will automatically repair a failed
3809
3877
  # rollout.
3878
+ #
3879
+ # Note: The following fields are mutually exclusive: `repair_rollout_rule`, `promote_release_rule`, `advance_rollout_rule`, `timed_promote_release_rule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3810
3880
  # @!attribute [rw] timed_promote_release_rule
3811
3881
  # @return [::Google::Cloud::Deploy::V1::TimedPromoteReleaseRule]
3812
3882
  # Optional. The `TimedPromoteReleaseRule` will automatically promote a
3813
3883
  # release from the current target(s) to the specified target(s) on a
3814
3884
  # configured schedule.
3885
+ #
3886
+ # Note: The following fields are mutually exclusive: `timed_promote_release_rule`, `promote_release_rule`, `advance_rollout_rule`, `repair_rollout_rule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3815
3887
  class AutomationRule
3816
3888
  include ::Google::Protobuf::MessageExts
3817
3889
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3947,9 +4019,13 @@ module Google
3947
4019
  # @!attribute [rw] retry
3948
4020
  # @return [::Google::Cloud::Deploy::V1::Retry]
3949
4021
  # Optional. Retries a failed job.
4022
+ #
4023
+ # Note: The following fields are mutually exclusive: `retry`, `rollback`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3950
4024
  # @!attribute [rw] rollback
3951
4025
  # @return [::Google::Cloud::Deploy::V1::Rollback]
3952
4026
  # Optional. Rolls back a `Rollout`.
4027
+ #
4028
+ # Note: The following fields are mutually exclusive: `rollback`, `retry`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3953
4029
  class RepairPhaseConfig
3954
4030
  include ::Google::Protobuf::MessageExts
3955
4031
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -4254,16 +4330,24 @@ module Google
4254
4330
  # @!attribute [r] promote_release_operation
4255
4331
  # @return [::Google::Cloud::Deploy::V1::PromoteReleaseOperation]
4256
4332
  # Output only. Promotes a release to a specified 'Target'.
4333
+ #
4334
+ # Note: The following fields are mutually exclusive: `promote_release_operation`, `advance_rollout_operation`, `repair_rollout_operation`, `timed_promote_release_operation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4257
4335
  # @!attribute [r] advance_rollout_operation
4258
4336
  # @return [::Google::Cloud::Deploy::V1::AdvanceRolloutOperation]
4259
4337
  # Output only. Advances a rollout to the next phase.
4338
+ #
4339
+ # Note: The following fields are mutually exclusive: `advance_rollout_operation`, `promote_release_operation`, `repair_rollout_operation`, `timed_promote_release_operation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4260
4340
  # @!attribute [r] repair_rollout_operation
4261
4341
  # @return [::Google::Cloud::Deploy::V1::RepairRolloutOperation]
4262
4342
  # Output only. Repairs a failed 'Rollout'.
4343
+ #
4344
+ # Note: The following fields are mutually exclusive: `repair_rollout_operation`, `promote_release_operation`, `advance_rollout_operation`, `timed_promote_release_operation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4263
4345
  # @!attribute [r] timed_promote_release_operation
4264
4346
  # @return [::Google::Cloud::Deploy::V1::TimedPromoteReleaseOperation]
4265
4347
  # Output only. Promotes a release to a specified 'Target' as defined in a
4266
4348
  # Timed Promote Release rule.
4349
+ #
4350
+ # Note: The following fields are mutually exclusive: `timed_promote_release_operation`, `promote_release_operation`, `advance_rollout_operation`, `repair_rollout_operation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4267
4351
  # @!attribute [r] wait_until_time
4268
4352
  # @return [::Google::Protobuf::Timestamp]
4269
4353
  # Output only. Earliest time the `AutomationRun` will attempt to resume.
@@ -4380,9 +4464,13 @@ module Google
4380
4464
  # @!attribute [r] retry
4381
4465
  # @return [::Google::Cloud::Deploy::V1::RetryPhase]
4382
4466
  # Output only. Records of the retry attempts for retry repair mode.
4467
+ #
4468
+ # Note: The following fields are mutually exclusive: `retry`, `rollback`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4383
4469
  # @!attribute [r] rollback
4384
4470
  # @return [::Google::Cloud::Deploy::V1::RollbackAttempt]
4385
4471
  # Output only. Rollback attempt for rollback repair mode .
4472
+ #
4473
+ # Note: The following fields are mutually exclusive: `rollback`, `retry`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4386
4474
  class RepairPhase
4387
4475
  include ::Google::Protobuf::MessageExts
4388
4476
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-deploy-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -161,7 +160,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
161
160
  licenses:
162
161
  - Apache-2.0
163
162
  metadata: {}
164
- post_install_message:
165
163
  rdoc_options: []
166
164
  require_paths:
167
165
  - lib
@@ -169,15 +167,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
169
167
  requirements:
170
168
  - - ">="
171
169
  - !ruby/object:Gem::Version
172
- version: '2.7'
170
+ version: '3.0'
173
171
  required_rubygems_version: !ruby/object:Gem::Requirement
174
172
  requirements:
175
173
  - - ">="
176
174
  - !ruby/object:Gem::Version
177
175
  version: '0'
178
176
  requirements: []
179
- rubygems_version: 3.5.23
180
- signing_key:
177
+ rubygems_version: 3.6.3
181
178
  specification_version: 4
182
179
  summary: API Client library for the Google Cloud Deploy V1 API
183
180
  test_files: []