google-cloud-eventarc-v1 1.2.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/eventarc/v1/eventarc/client.rb +7 -0
- data/lib/google/cloud/eventarc/v1/eventarc/operations.rb +7 -0
- data/lib/google/cloud/eventarc/v1/eventarc/rest/client.rb +39 -16
- data/lib/google/cloud/eventarc/v1/eventarc/rest/operations.rb +7 -0
- data/lib/google/cloud/eventarc/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/cloud/eventarc/v1/pipeline.rb +18 -0
- data/proto_docs/google/cloud/eventarc/v1/trigger.rb +10 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7142955842c15ec9dc8e98db7c5f1144f11e0e1bd09b471fe80633babb7d9753
|
4
|
+
data.tar.gz: 8a125d7b5ea11b3c3f64e4fe31a6db520c65893269d3e066810597b2235f375e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc3ffc5405e190a183c358a9fdbe7100e326a3bb817547c6be588cd182e2633cd881877b9de91832d703dab9e4677021c8ec703f29f03b1d0b7e444db0216ec5
|
7
|
+
data.tar.gz: 0e7c46d1c64ccca605397904f443ba1bc82abb6d3b235f94043554c100b522426f74efba5eea017287574353a82aaa72017c2fdda287b76712330a181de9b846
|
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
|
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
|
@@ -4249,6 +4249,13 @@ module Google
|
|
4249
4249
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
4250
4250
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
4251
4251
|
# * (`nil`) indicating no credentials
|
4252
|
+
#
|
4253
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
4254
|
+
# external source for authentication to Google Cloud, you must validate it before
|
4255
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
4256
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
4257
|
+
# For more information, refer to [Validate credential configurations from external
|
4258
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
4252
4259
|
# @return [::Object]
|
4253
4260
|
# @!attribute [rw] scope
|
4254
4261
|
# 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
|
@@ -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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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)
|
@@ -3953,6 +3969,13 @@ module Google
|
|
3953
3969
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
3954
3970
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
3955
3971
|
# * (`nil`) indicating no credentials
|
3972
|
+
#
|
3973
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
3974
|
+
# external source for authentication to Google Cloud, you must validate it before
|
3975
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
3976
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
3977
|
+
# For more information, refer to [Validate credential configurations from external
|
3978
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
3956
3979
|
# @return [::Object]
|
3957
3980
|
# @!attribute [rw] scope
|
3958
3981
|
# 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
|
@@ -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
|
@@ -99,12 +99,18 @@ module Google
|
|
99
99
|
# @!attribute [rw] protobuf
|
100
100
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::ProtobufFormat]
|
101
101
|
# Optional. Protobuf format.
|
102
|
+
#
|
103
|
+
# Note: The following fields are mutually exclusive: `protobuf`, `avro`, `json`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
102
104
|
# @!attribute [rw] avro
|
103
105
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::AvroFormat]
|
104
106
|
# Optional. Avro format.
|
107
|
+
#
|
108
|
+
# Note: The following fields are mutually exclusive: `avro`, `protobuf`, `json`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
105
109
|
# @!attribute [rw] json
|
106
110
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::JsonFormat]
|
107
111
|
# Optional. JSON format.
|
112
|
+
#
|
113
|
+
# Note: The following fields are mutually exclusive: `json`, `protobuf`, `avro`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
108
114
|
class MessagePayloadFormat
|
109
115
|
include ::Google::Protobuf::MessageExts
|
110
116
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -146,23 +152,31 @@ module Google
|
|
146
152
|
# peering zone to the consumer VPC and forward DNS requests to the VPC
|
147
153
|
# specified by network config to resolve the service endpoint. See:
|
148
154
|
# https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones
|
155
|
+
#
|
156
|
+
# Note: The following fields are mutually exclusive: `http_endpoint`, `workflow`, `message_bus`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
149
157
|
# @!attribute [rw] workflow
|
150
158
|
# @return [::String]
|
151
159
|
# Optional. The resource name of the Workflow whose Executions are
|
152
160
|
# triggered by the events. The Workflow resource should be deployed in
|
153
161
|
# the same project as the Pipeline. Format:
|
154
162
|
# `projects/{project}/locations/{location}/workflows/{workflow}`
|
163
|
+
#
|
164
|
+
# Note: The following fields are mutually exclusive: `workflow`, `http_endpoint`, `message_bus`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
155
165
|
# @!attribute [rw] message_bus
|
156
166
|
# @return [::String]
|
157
167
|
# Optional. The resource name of the Message Bus to which events should
|
158
168
|
# be published. The Message Bus resource should exist in the same project
|
159
169
|
# as the Pipeline. Format:
|
160
170
|
# `projects/{project}/locations/{location}/messageBuses/{message_bus}`
|
171
|
+
#
|
172
|
+
# Note: The following fields are mutually exclusive: `message_bus`, `http_endpoint`, `workflow`, `topic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
161
173
|
# @!attribute [rw] topic
|
162
174
|
# @return [::String]
|
163
175
|
# Optional. The resource name of the Pub/Sub topic to which events should
|
164
176
|
# be published. Format:
|
165
177
|
# `projects/{project}/locations/{location}/topics/{topic}`
|
178
|
+
#
|
179
|
+
# Note: The following fields are mutually exclusive: `topic`, `http_endpoint`, `workflow`, `message_bus`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
166
180
|
# @!attribute [rw] authentication_config
|
167
181
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig]
|
168
182
|
# Optional. An authentication config used to authenticate message requests,
|
@@ -377,6 +391,8 @@ module Google
|
|
377
391
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OidcToken]
|
378
392
|
# Optional. This authenticate method will apply Google OIDC tokens
|
379
393
|
# signed by a GCP service account to the requests.
|
394
|
+
#
|
395
|
+
# Note: The following fields are mutually exclusive: `google_oidc`, `oauth_token`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
380
396
|
# @!attribute [rw] oauth_token
|
381
397
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OAuthToken]
|
382
398
|
# Optional. If specified, an [OAuth
|
@@ -386,6 +402,8 @@ module Google
|
|
386
402
|
#
|
387
403
|
# This type of authorization should generally only be used when calling
|
388
404
|
# Google APIs hosted on *.googleapis.com.
|
405
|
+
#
|
406
|
+
# Note: The following fields are mutually exclusive: `oauth_token`, `google_oidc`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
389
407
|
class AuthenticationConfig
|
390
408
|
include ::Google::Protobuf::MessageExts
|
391
409
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -152,6 +152,8 @@ module Google
|
|
152
152
|
# @return [::Google::Cloud::Eventarc::V1::CloudRun]
|
153
153
|
# Cloud Run fully-managed resource that receives the events. The resource
|
154
154
|
# should be in the same project as the trigger.
|
155
|
+
#
|
156
|
+
# Note: The following fields are mutually exclusive: `cloud_run`, `cloud_function`, `gke`, `workflow`, `http_endpoint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
155
157
|
# @!attribute [rw] cloud_function
|
156
158
|
# @return [::String]
|
157
159
|
# The Cloud Function resource name. Cloud Functions V1 and V2 are
|
@@ -161,19 +163,27 @@ module Google
|
|
161
163
|
# This is a read-only field. Creating Cloud Functions V1/V2 triggers is
|
162
164
|
# only supported via the Cloud Functions product. An error will be returned
|
163
165
|
# if the user sets this value.
|
166
|
+
#
|
167
|
+
# Note: The following fields are mutually exclusive: `cloud_function`, `cloud_run`, `gke`, `workflow`, `http_endpoint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
164
168
|
# @!attribute [rw] gke
|
165
169
|
# @return [::Google::Cloud::Eventarc::V1::GKE]
|
166
170
|
# A GKE service capable of receiving events. The service should be running
|
167
171
|
# in the same project as the trigger.
|
172
|
+
#
|
173
|
+
# Note: The following fields are mutually exclusive: `gke`, `cloud_run`, `cloud_function`, `workflow`, `http_endpoint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
168
174
|
# @!attribute [rw] workflow
|
169
175
|
# @return [::String]
|
170
176
|
# The resource name of the Workflow whose Executions are triggered by
|
171
177
|
# the events. The Workflow resource should be deployed in the same project
|
172
178
|
# as the trigger.
|
173
179
|
# Format: `projects/{project}/locations/{location}/workflows/{workflow}`
|
180
|
+
#
|
181
|
+
# Note: The following fields are mutually exclusive: `workflow`, `cloud_run`, `cloud_function`, `gke`, `http_endpoint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
174
182
|
# @!attribute [rw] http_endpoint
|
175
183
|
# @return [::Google::Cloud::Eventarc::V1::HttpEndpoint]
|
176
184
|
# An HTTP endpoint destination described by an URI.
|
185
|
+
#
|
186
|
+
# Note: The following fields are mutually exclusive: `http_endpoint`, `cloud_run`, `cloud_function`, `gke`, `workflow`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
177
187
|
# @!attribute [rw] network_config
|
178
188
|
# @return [::Google::Cloud::Eventarc::V1::NetworkConfig]
|
179
189
|
# Optional. Network config is used to configure how Eventarc resolves and
|
@@ -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-eventarc-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
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:
|
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.
|
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.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -157,7 +156,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
157
156
|
licenses:
|
158
157
|
- Apache-2.0
|
159
158
|
metadata: {}
|
160
|
-
post_install_message:
|
161
159
|
rdoc_options: []
|
162
160
|
require_paths:
|
163
161
|
- lib
|
@@ -165,15 +163,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
165
163
|
requirements:
|
166
164
|
- - ">="
|
167
165
|
- !ruby/object:Gem::Version
|
168
|
-
version: '
|
166
|
+
version: '3.0'
|
169
167
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
168
|
requirements:
|
171
169
|
- - ">="
|
172
170
|
- !ruby/object:Gem::Version
|
173
171
|
version: '0'
|
174
172
|
requirements: []
|
175
|
-
rubygems_version: 3.
|
176
|
-
signing_key:
|
173
|
+
rubygems_version: 3.6.3
|
177
174
|
specification_version: 4
|
178
175
|
summary: Build event-driven applications on Google Cloud Platform.
|
179
176
|
test_files: []
|