google-cloud-deploy-v1 1.6.0 → 2.0.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: 60bfb1fb7ceb6c69abf2b1b5ba4335eedc66efa79de25407b42a9da936be85f3
4
- data.tar.gz: 941f9611f5c6b0e95907255ef0244fa8f69e6686d0d6f33ed808a74dff4eba5c
3
+ metadata.gz: 36080a2a4c37e943b7f7e57a137e6b96181d8a040c555379595178895d853b29
4
+ data.tar.gz: a2285854117ca0f9fba0c5fb70eb1a269844a8d90adfa09b6646a26a4ff89c6d
5
5
  SHA512:
6
- metadata.gz: 44078b68603627940159043324fa8170012c3bd06bfd9dc595bcc997e64d9a75a54e6c9c7e279010407f40910bc52c2703c25880bc17913e4c3b1a1e01f300a7
7
- data.tar.gz: ef57df61f9258f6c1bebb5d526ece110161717214c4337ff7a02a5f8a2ff619b0d1dfbfb3f945883f1fb58ab0644a7aeef80429fd4dbf8291fa7478203c0be38
6
+ metadata.gz: 903c825fd8f118413578dcda664b1801bfcde33c59a5c581f769f1b75f89bdd3878f6f57eddcf28d41de69bca841e4478bb9042da17a7b516f564f2519213c82
7
+ data.tar.gz: abd9549262abc39cbd7298bded1e8c6eaa18cd2afd233d88dfe4e8289f932ef3a070a50b9047a2a991a41a9b35d4d43ea2ae815f4ffe5e980e355f7e0630cf40
@@ -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)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Deploy
23
23
  module V1
24
- VERSION = "1.6.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
metadata CHANGED
@@ -1,13 +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.6.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  - !ruby/object:Gem::Version
175
175
  version: '0'
176
176
  requirements: []
177
- rubygems_version: 3.6.2
177
+ rubygems_version: 3.6.3
178
178
  specification_version: 4
179
179
  summary: API Client library for the Google Cloud Deploy V1 API
180
180
  test_files: []