google-cloud-eventarc-v1 1.3.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: 213ede6da9633d7832625e034e02691775c1a1ed7ffc0ccd5e658bb89e03270b
4
- data.tar.gz: 92425eb1074ea61210a69bfb833e16394ea151ee89ac10366bdd0f07ec599f21
3
+ metadata.gz: 7142955842c15ec9dc8e98db7c5f1144f11e0e1bd09b471fe80633babb7d9753
4
+ data.tar.gz: 8a125d7b5ea11b3c3f64e4fe31a6db520c65893269d3e066810597b2235f375e
5
5
  SHA512:
6
- metadata.gz: 93ea61d826548347b602b99f405acde2302f70a6d34e30a4c2bb31d9b8b138c7a13a08b357e064ef01f439c3d9641346275fc834051551579f31ae2860270e3c
7
- data.tar.gz: 5f6caf0b1b060aeee0d07ee961d544d9739db0ba54cfeeea0aedd1620c0ce6f4e0902ed5690a1b43ba53eaffdcf9658e851ddde498b2003961dcd57d51b0b900
6
+ metadata.gz: dc3ffc5405e190a183c358a9fdbe7100e326a3bb817547c6be588cd182e2633cd881877b9de91832d703dab9e4677021c8ec703f29f03b1d0b7e444db0216ec5
7
+ data.tar.gz: 0e7c46d1c64ccca605397904f443ba1bc82abb6d3b235f94043554c100b522426f74efba5eea017287574353a82aaa72017c2fdda287b76712330a181de9b846
@@ -475,10 +475,10 @@ module Google
475
475
  # are described in https://google.aip.dev/160. For example, using
476
476
  # "?filter=destination:gke" would list only Triggers with a gke destination.
477
477
  # @yield [result, operation] Access the result along with the TransportOperation object
478
- # @yieldparam result [::Google::Cloud::Eventarc::V1::ListTriggersResponse]
478
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::Trigger>]
479
479
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
480
480
  #
481
- # @return [::Google::Cloud::Eventarc::V1::ListTriggersResponse]
481
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::Trigger>]
482
482
  #
483
483
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
484
484
  #
@@ -530,7 +530,9 @@ module Google
530
530
  retry_policy: @config.retry_policy
531
531
 
532
532
  @eventarc_stub.list_triggers request, options do |result, operation|
533
+ result = ::Gapic::Rest::PagedEnumerable.new @eventarc_stub, :list_triggers, "triggers", request, result, options
533
534
  yield result, operation if block_given?
535
+ throw :response, result
534
536
  end
535
537
  rescue ::Gapic::Rest::Error => e
536
538
  raise ::Google::Cloud::Error.from_error(e)
@@ -937,10 +939,10 @@ module Google
937
939
  # specify descending order for a field, append a `desc` suffix; for example:
938
940
  # `name desc, channel_id`.
939
941
  # @yield [result, operation] Access the result along with the TransportOperation object
940
- # @yieldparam result [::Google::Cloud::Eventarc::V1::ListChannelsResponse]
942
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::Channel>]
941
943
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
942
944
  #
943
- # @return [::Google::Cloud::Eventarc::V1::ListChannelsResponse]
945
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::Channel>]
944
946
  #
945
947
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
946
948
  #
@@ -992,7 +994,9 @@ module Google
992
994
  retry_policy: @config.retry_policy
993
995
 
994
996
  @eventarc_stub.list_channels request, options do |result, operation|
997
+ result = ::Gapic::Rest::PagedEnumerable.new @eventarc_stub, :list_channels, "channels", request, result, options
995
998
  yield result, operation if block_given?
999
+ throw :response, result
996
1000
  end
997
1001
  rescue ::Gapic::Rest::Error => e
998
1002
  raise ::Google::Cloud::Error.from_error(e)
@@ -1390,10 +1394,10 @@ module Google
1390
1394
  # @param filter [::String]
1391
1395
  # The filter field that the list request will filter on.
1392
1396
  # @yield [result, operation] Access the result along with the TransportOperation object
1393
- # @yieldparam result [::Google::Cloud::Eventarc::V1::ListProvidersResponse]
1397
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::Provider>]
1394
1398
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1395
1399
  #
1396
- # @return [::Google::Cloud::Eventarc::V1::ListProvidersResponse]
1400
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::Provider>]
1397
1401
  #
1398
1402
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1399
1403
  #
@@ -1445,7 +1449,9 @@ module Google
1445
1449
  retry_policy: @config.retry_policy
1446
1450
 
1447
1451
  @eventarc_stub.list_providers request, options do |result, operation|
1452
+ result = ::Gapic::Rest::PagedEnumerable.new @eventarc_stub, :list_providers, "providers", request, result, options
1448
1453
  yield result, operation if block_given?
1454
+ throw :response, result
1449
1455
  end
1450
1456
  rescue ::Gapic::Rest::Error => e
1451
1457
  raise ::Google::Cloud::Error.from_error(e)
@@ -1560,10 +1566,10 @@ module Google
1560
1566
  # When paginating, all other parameters provided to `ListChannelConnetions`
1561
1567
  # match the call that provided the page token.
1562
1568
  # @yield [result, operation] Access the result along with the TransportOperation object
1563
- # @yieldparam result [::Google::Cloud::Eventarc::V1::ListChannelConnectionsResponse]
1569
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::ChannelConnection>]
1564
1570
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1565
1571
  #
1566
- # @return [::Google::Cloud::Eventarc::V1::ListChannelConnectionsResponse]
1572
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::ChannelConnection>]
1567
1573
  #
1568
1574
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1569
1575
  #
@@ -1615,7 +1621,9 @@ module Google
1615
1621
  retry_policy: @config.retry_policy
1616
1622
 
1617
1623
  @eventarc_stub.list_channel_connections request, options do |result, operation|
1624
+ result = ::Gapic::Rest::PagedEnumerable.new @eventarc_stub, :list_channel_connections, "channel_connections", request, result, options
1618
1625
  yield result, operation if block_given?
1626
+ throw :response, result
1619
1627
  end
1620
1628
  rescue ::Gapic::Rest::Error => e
1621
1629
  raise ::Google::Cloud::Error.from_error(e)
@@ -2076,10 +2084,10 @@ module Google
2076
2084
  # Optional. The filter field that the list request will filter on.
2077
2085
  # Possible filtersare described in https://google.aip.dev/160.
2078
2086
  # @yield [result, operation] Access the result along with the TransportOperation object
2079
- # @yieldparam result [::Google::Cloud::Eventarc::V1::ListMessageBusesResponse]
2087
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::MessageBus>]
2080
2088
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2081
2089
  #
2082
- # @return [::Google::Cloud::Eventarc::V1::ListMessageBusesResponse]
2090
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::MessageBus>]
2083
2091
  #
2084
2092
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2085
2093
  #
@@ -2131,7 +2139,9 @@ module Google
2131
2139
  retry_policy: @config.retry_policy
2132
2140
 
2133
2141
  @eventarc_stub.list_message_buses request, options do |result, operation|
2142
+ result = ::Gapic::Rest::PagedEnumerable.new @eventarc_stub, :list_message_buses, "message_buses", request, result, options
2134
2143
  yield result, operation if block_given?
2144
+ throw :response, result
2135
2145
  end
2136
2146
  rescue ::Gapic::Rest::Error => e
2137
2147
  raise ::Google::Cloud::Error.from_error(e)
@@ -2630,10 +2640,10 @@ module Google
2630
2640
  # Optional. The filter field that the list request will filter on.
2631
2641
  # Possible filtersare described in https://google.aip.dev/160.
2632
2642
  # @yield [result, operation] Access the result along with the TransportOperation object
2633
- # @yieldparam result [::Google::Cloud::Eventarc::V1::ListEnrollmentsResponse]
2643
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::Enrollment>]
2634
2644
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2635
2645
  #
2636
- # @return [::Google::Cloud::Eventarc::V1::ListEnrollmentsResponse]
2646
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::Enrollment>]
2637
2647
  #
2638
2648
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2639
2649
  #
@@ -2685,7 +2695,9 @@ module Google
2685
2695
  retry_policy: @config.retry_policy
2686
2696
 
2687
2697
  @eventarc_stub.list_enrollments request, options do |result, operation|
2698
+ result = ::Gapic::Rest::PagedEnumerable.new @eventarc_stub, :list_enrollments, "enrollments", request, result, options
2688
2699
  yield result, operation if block_given?
2700
+ throw :response, result
2689
2701
  end
2690
2702
  rescue ::Gapic::Rest::Error => e
2691
2703
  raise ::Google::Cloud::Error.from_error(e)
@@ -3096,10 +3108,10 @@ module Google
3096
3108
  # Optional. The filter field that the list request will filter on.
3097
3109
  # Possible filters are described in https://google.aip.dev/160.
3098
3110
  # @yield [result, operation] Access the result along with the TransportOperation object
3099
- # @yieldparam result [::Google::Cloud::Eventarc::V1::ListPipelinesResponse]
3111
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::Pipeline>]
3100
3112
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
3101
3113
  #
3102
- # @return [::Google::Cloud::Eventarc::V1::ListPipelinesResponse]
3114
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::Pipeline>]
3103
3115
  #
3104
3116
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3105
3117
  #
@@ -3151,7 +3163,9 @@ module Google
3151
3163
  retry_policy: @config.retry_policy
3152
3164
 
3153
3165
  @eventarc_stub.list_pipelines request, options do |result, operation|
3166
+ result = ::Gapic::Rest::PagedEnumerable.new @eventarc_stub, :list_pipelines, "pipelines", request, result, options
3154
3167
  yield result, operation if block_given?
3168
+ throw :response, result
3155
3169
  end
3156
3170
  rescue ::Gapic::Rest::Error => e
3157
3171
  raise ::Google::Cloud::Error.from_error(e)
@@ -3561,10 +3575,10 @@ module Google
3561
3575
  # Optional. The filter field that the list request will filter on.
3562
3576
  # Possible filtersare described in https://google.aip.dev/160.
3563
3577
  # @yield [result, operation] Access the result along with the TransportOperation object
3564
- # @yieldparam result [::Google::Cloud::Eventarc::V1::ListGoogleApiSourcesResponse]
3578
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::GoogleApiSource>]
3565
3579
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
3566
3580
  #
3567
- # @return [::Google::Cloud::Eventarc::V1::ListGoogleApiSourcesResponse]
3581
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Eventarc::V1::GoogleApiSource>]
3568
3582
  #
3569
3583
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3570
3584
  #
@@ -3616,7 +3630,9 @@ module Google
3616
3630
  retry_policy: @config.retry_policy
3617
3631
 
3618
3632
  @eventarc_stub.list_google_api_sources request, options do |result, operation|
3633
+ result = ::Gapic::Rest::PagedEnumerable.new @eventarc_stub, :list_google_api_sources, "google_api_sources", request, result, options
3619
3634
  yield result, operation if block_given?
3635
+ throw :response, result
3620
3636
  end
3621
3637
  rescue ::Gapic::Rest::Error => e
3622
3638
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Eventarc
23
23
  module V1
24
- VERSION = "1.3.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-eventarc-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.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
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  - !ruby/object:Gem::Version
171
171
  version: '0'
172
172
  requirements: []
173
- rubygems_version: 3.6.2
173
+ rubygems_version: 3.6.3
174
174
  specification_version: 4
175
175
  summary: Build event-driven applications on Google Cloud Platform.
176
176
  test_files: []