google-cloud-eventarc-v1 1.3.0 → 2.0.1

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: 213ede6da9633d7832625e034e02691775c1a1ed7ffc0ccd5e658bb89e03270b
4
- data.tar.gz: 92425eb1074ea61210a69bfb833e16394ea151ee89ac10366bdd0f07ec599f21
3
+ metadata.gz: 7c8c31601d84c0420f7af511ebac9a181dc6f2ae9a4c17e3c931e1c1fa6c1e37
4
+ data.tar.gz: 776ee6ba9620ea0fc4d05251fb8598c2ab723cfdcc29e57eee2e5a0b9252cbe8
5
5
  SHA512:
6
- metadata.gz: 93ea61d826548347b602b99f405acde2302f70a6d34e30a4c2bb31d9b8b138c7a13a08b357e064ef01f439c3d9641346275fc834051551579f31ae2860270e3c
7
- data.tar.gz: 5f6caf0b1b060aeee0d07ee961d544d9739db0ba54cfeeea0aedd1620c0ce6f4e0902ed5690a1b43ba53eaffdcf9658e851ddde498b2003961dcd57d51b0b900
6
+ metadata.gz: 87e341606135a7f6435921431471f2054426b3b9940ac3886cf0f460c56a87213cc94c6cc2a11d0edcbb5bc6a36b5f8bd4bdfd22910d5dbdeb1ba02f9b305a17
7
+ data.tar.gz: e4ca0988cc8c7822bb0f0012953901e102d346beba4401af38f46c072809438d4e73f263cd2d59d9420071413f33ca6a43219eb4bb4c93a683da8cd0fecd7840
@@ -4310,8 +4310,8 @@ module Google
4310
4310
 
4311
4311
  config_attr :endpoint, nil, ::String, nil
4312
4312
  config_attr :credentials, nil do |value|
4313
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
4314
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
4313
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
4314
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
4315
4315
  allowed.any? { |klass| klass === value }
4316
4316
  end
4317
4317
  config_attr :scope, nil, ::String, ::Array, nil
@@ -701,8 +701,8 @@ module Google
701
701
 
702
702
  config_attr :endpoint, nil, ::String, nil
703
703
  config_attr :credentials, nil do |value|
704
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
705
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
706
706
  allowed.any? { |klass| klass === value }
707
707
  end
708
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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)
@@ -4007,7 +4023,7 @@ module Google
4007
4023
 
4008
4024
  config_attr :endpoint, nil, ::String, nil
4009
4025
  config_attr :credentials, nil do |value|
4010
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
4026
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
4011
4027
  allowed.any? { |klass| klass === value }
4012
4028
  end
4013
4029
  config_attr :scope, nil, ::String, ::Array, nil
@@ -556,7 +556,7 @@ module Google
556
556
 
557
557
  config_attr :endpoint, nil, ::String, nil
558
558
  config_attr :credentials, nil do |value|
559
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
560
560
  allowed.any? { |klass| klass === value }
561
561
  end
562
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  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.1
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: 1980-01-02 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.8
174
174
  specification_version: 4
175
175
  summary: Build event-driven applications on Google Cloud Platform.
176
176
  test_files: []