google-cloud-eventarc-v1 2.2.0 → 2.4.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/lib/google/cloud/eventarc/v1/bindings_override.rb +24 -0
- data/lib/google/cloud/eventarc/v1/channel_connection_pb.rb +1 -1
- data/lib/google/cloud/eventarc/v1/channel_pb.rb +1 -1
- data/lib/google/cloud/eventarc/v1/enrollment_pb.rb +1 -1
- data/lib/google/cloud/eventarc/v1/eventarc/client.rb +9 -6
- data/lib/google/cloud/eventarc/v1/eventarc/operations.rb +12 -1
- data/lib/google/cloud/eventarc/v1/eventarc/rest/client.rb +9 -6
- data/lib/google/cloud/eventarc/v1/eventarc/rest/operations.rb +12 -1
- data/lib/google/cloud/eventarc/v1/eventarc_services_pb.rb +3 -1
- data/lib/google/cloud/eventarc/v1/google_channel_config_pb.rb +1 -1
- data/lib/google/cloud/eventarc/v1/pipeline_pb.rb +1 -1
- data/lib/google/cloud/eventarc/v1/trigger_pb.rb +1 -1
- data/lib/google/cloud/eventarc/v1/version.rb +1 -1
- data/proto_docs/google/cloud/eventarc/v1/channel.rb +13 -1
- data/proto_docs/google/cloud/eventarc/v1/channel_connection.rb +12 -0
- data/proto_docs/google/cloud/eventarc/v1/enrollment.rb +2 -2
- data/proto_docs/google/cloud/eventarc/v1/eventarc.rb +6 -5
- data/proto_docs/google/cloud/eventarc/v1/google_channel_config.rb +14 -0
- data/proto_docs/google/cloud/eventarc/v1/pipeline.rb +38 -33
- data/proto_docs/google/cloud/eventarc/v1/trigger.rb +1 -1
- data/proto_docs/google/longrunning/operations.rb +18 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 612c19a615a686bc62d27628d8bab4d406ff783dfaf609fac0ef72f6b4a9f32e
|
4
|
+
data.tar.gz: b762e61759a5fbcf5c4482021f4f55ae9e3b87ba7af0e3b6c907c67224c50fd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e6f7b4e388b532c7dc6c522eb41938a9fc63ece9554659e4fd6de2a369c1878f5a384e6155435b524b82657d51a9963d9665eb7f239af82761d0a832bc7df2d
|
7
|
+
data.tar.gz: 1e9c7b09d303893182b0d2339c77023a88761c5c8f4756d217e7bc7493de756b7fa0bd202f5ec437d2df7f5ca6cbbfbbab50b551215ca781a222811684194dfc
|
@@ -114,6 +114,14 @@ module Google
|
|
114
114
|
],
|
115
115
|
body: nil
|
116
116
|
),
|
117
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
118
|
+
uri_method: :get,
|
119
|
+
uri_template: "/v1/{resource}:getIamPolicy",
|
120
|
+
matches: [
|
121
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/kafkaSources/[^/]+/?$}, false]
|
122
|
+
],
|
123
|
+
body: nil
|
124
|
+
),
|
117
125
|
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
118
126
|
uri_method: :get,
|
119
127
|
uri_template: "/v1/{resource}:getIamPolicy",
|
@@ -173,6 +181,14 @@ module Google
|
|
173
181
|
],
|
174
182
|
body: "*"
|
175
183
|
),
|
184
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
185
|
+
uri_method: :post,
|
186
|
+
uri_template: "/v1/{resource}:setIamPolicy",
|
187
|
+
matches: [
|
188
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/kafkaSources/[^/]+/?$}, false]
|
189
|
+
],
|
190
|
+
body: "*"
|
191
|
+
),
|
176
192
|
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
177
193
|
uri_method: :post,
|
178
194
|
uri_template: "/v1/{resource}:setIamPolicy",
|
@@ -232,6 +248,14 @@ module Google
|
|
232
248
|
],
|
233
249
|
body: "*"
|
234
250
|
),
|
251
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
252
|
+
uri_method: :post,
|
253
|
+
uri_template: "/v1/{resource}:testIamPermissions",
|
254
|
+
matches: [
|
255
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/kafkaSources/[^/]+/?$}, false]
|
256
|
+
],
|
257
|
+
body: "*"
|
258
|
+
),
|
235
259
|
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
236
260
|
uri_method: :post,
|
237
261
|
uri_template: "/v1/{resource}:testIamPermissions",
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n1google/cloud/eventarc/v1/channel_connection.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
12
|
+
descriptor_data = "\n1google/cloud/eventarc/v1/channel_connection.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa4\x04\n\x11\x43hannelConnection\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x07\x63hannel\x18\x05 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x65ventarc.googleapis.com/Channel\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1d\n\x10\x61\x63tivation_token\x18\x08 \x01(\tB\x03\xe0\x41\x04\x12L\n\x06labels\x18\t \x03(\x0b\x32\x37.google.cloud.eventarc.v1.ChannelConnection.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xa7\x01\xea\x41\xa3\x01\n)eventarc.googleapis.com/ChannelConnection\x12Oprojects/{project}/locations/{location}/channelConnections/{channel_connection}*\x12\x63hannelConnections2\x11\x63hannelConnectionB\xc6\x01\n\x1c\x63om.google.cloud.eventarc.v1B\x16\x43hannelConnectionProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n&google/cloud/eventarc/v1/channel.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
12
|
+
descriptor_data = "\n&google/cloud/eventarc/v1/channel.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc1\x05\n\x07\x43hannel\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x10\n\x08provider\x18\x07 \x01(\t\x12\x1b\n\x0cpubsub_topic\x18\x08 \x01(\tB\x03\xe0\x41\x03H\x00\x12;\n\x05state\x18\t \x01(\x0e\x32\'.google.cloud.eventarc.v1.Channel.StateB\x03\xe0\x41\x03\x12\x1d\n\x10\x61\x63tivation_token\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x0f\x63rypto_key_name\x18\x0b \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x1a\n\rsatisfies_pzs\x18\x0c \x01(\x08\x42\x03\xe0\x41\x03\x12\x42\n\x06labels\x18\r \x03(\x0b\x32-.google.cloud.eventarc.v1.Channel.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08INACTIVE\x10\x03:s\xea\x41p\n\x1f\x65ventarc.googleapis.com/Channel\x12:projects/{project}/locations/{location}/channels/{channel}*\x08\x63hannels2\x07\x63hannelB\x0b\n\ttransportB\xbc\x01\n\x1c\x63om.google.cloud.eventarc.v1B\x0c\x43hannelProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n)google/cloud/eventarc/v1/enrollment.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
12
|
+
descriptor_data = "\n)google/cloud/eventarc/v1/enrollment.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc1\x05\n\nEnrollment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x06labels\x18\x06 \x03(\x0b\x32\x30.google.cloud.eventarc.v1.Enrollment.LabelsEntryB\x03\xe0\x41\x01\x12O\n\x0b\x61nnotations\x18\x07 \x03(\x0b\x32\x35.google.cloud.eventarc.v1.Enrollment.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tcel_match\x18\t \x01(\tB\x03\xe0\x41\x02\x12\x42\n\x0bmessage_bus\x18\n \x01(\tB-\xe0\x41\x02\xe0\x41\x05\xfa\x41$\n\"eventarc.googleapis.com/MessageBus\x12\x18\n\x0b\x64\x65stination\x18\x0b \x01(\tB\x03\xe0\x41\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x82\x01\xea\x41\x7f\n\"eventarc.googleapis.com/Enrollment\x12@projects/{project}/locations/{location}/enrollments/{enrollment}*\x0b\x65nrollments2\nenrollmentB\xbf\x01\n\x1c\x63om.google.cloud.eventarc.v1B\x0f\x45nrollmentProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -1925,7 +1925,9 @@ module Google
|
|
1925
1925
|
end
|
1926
1926
|
|
1927
1927
|
##
|
1928
|
-
# Get a GoogleChannelConfig
|
1928
|
+
# Get a GoogleChannelConfig.
|
1929
|
+
# The name of the GoogleChannelConfig in the response is ALWAYS coded with
|
1930
|
+
# projectID.
|
1929
1931
|
#
|
1930
1932
|
# @overload get_google_channel_config(request, options = nil)
|
1931
1933
|
# Pass arguments to `get_google_channel_config` via a request object, either of type
|
@@ -2202,7 +2204,7 @@ module Google
|
|
2202
2204
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2203
2205
|
#
|
2204
2206
|
# @param parent [::String]
|
2205
|
-
# Required. The parent collection to list
|
2207
|
+
# Required. The parent collection to list message buses on.
|
2206
2208
|
# @param page_size [::Integer]
|
2207
2209
|
# Optional. The maximum number of results to return on each page.
|
2208
2210
|
#
|
@@ -2411,7 +2413,7 @@ module Google
|
|
2411
2413
|
# Required. The message bus to create.
|
2412
2414
|
# @param message_bus_id [::String]
|
2413
2415
|
# Required. The user-provided ID to be assigned to the MessageBus. It should
|
2414
|
-
# match the format
|
2416
|
+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
2415
2417
|
# @param validate_only [::Boolean]
|
2416
2418
|
# Optional. If set, validate the request and preview the review, but do not
|
2417
2419
|
# post it.
|
@@ -2914,7 +2916,7 @@ module Google
|
|
2914
2916
|
# Required. The enrollment to create.
|
2915
2917
|
# @param enrollment_id [::String]
|
2916
2918
|
# Required. The user-provided ID to be assigned to the Enrollment. It should
|
2917
|
-
# match the format
|
2919
|
+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
2918
2920
|
# @param validate_only [::Boolean]
|
2919
2921
|
# Optional. If set, validate the request and preview the review, but do not
|
2920
2922
|
# post it.
|
@@ -3416,7 +3418,8 @@ module Google
|
|
3416
3418
|
# @param pipeline [::Google::Cloud::Eventarc::V1::Pipeline, ::Hash]
|
3417
3419
|
# Required. The pipeline to create.
|
3418
3420
|
# @param pipeline_id [::String]
|
3419
|
-
# Required. The user-provided ID to be assigned to the Pipeline.
|
3421
|
+
# Required. The user-provided ID to be assigned to the Pipeline. It should
|
3422
|
+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
3420
3423
|
# @param validate_only [::Boolean]
|
3421
3424
|
# Optional. If set, validate the request and preview the review, but do not
|
3422
3425
|
# post it.
|
@@ -3919,7 +3922,7 @@ module Google
|
|
3919
3922
|
# Required. The google api source to create.
|
3920
3923
|
# @param google_api_source_id [::String]
|
3921
3924
|
# Required. The user-provided ID to be assigned to the GoogleApiSource. It
|
3922
|
-
# should match the format
|
3925
|
+
# should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
3923
3926
|
# @param validate_only [::Boolean]
|
3924
3927
|
# Optional. If set, validate the request and preview the review, but do not
|
3925
3928
|
# post it.
|
@@ -134,7 +134,7 @@ module Google
|
|
134
134
|
# @param options [::Gapic::CallOptions, ::Hash]
|
135
135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
136
136
|
#
|
137
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
137
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
138
138
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
139
139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
140
140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -147,6 +147,17 @@ module Google
|
|
147
147
|
# The standard list page size.
|
148
148
|
# @param page_token [::String]
|
149
149
|
# The standard list page token.
|
150
|
+
# @param return_partial_success [::Boolean]
|
151
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
152
|
+
# and those that are unreachable are returned in the
|
153
|
+
# [ListOperationsResponse.unreachable] field.
|
154
|
+
#
|
155
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
156
|
+
# is set to `"projects/example/locations/-"`.
|
157
|
+
#
|
158
|
+
# This field is not by default supported and will result in an
|
159
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
160
|
+
# service or product specific documentation.
|
150
161
|
#
|
151
162
|
# @yield [response, operation] Access the result along with the RPC operation
|
152
163
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
@@ -1808,7 +1808,9 @@ module Google
|
|
1808
1808
|
end
|
1809
1809
|
|
1810
1810
|
##
|
1811
|
-
# Get a GoogleChannelConfig
|
1811
|
+
# Get a GoogleChannelConfig.
|
1812
|
+
# The name of the GoogleChannelConfig in the response is ALWAYS coded with
|
1813
|
+
# projectID.
|
1812
1814
|
#
|
1813
1815
|
# @overload get_google_channel_config(request, options = nil)
|
1814
1816
|
# Pass arguments to `get_google_channel_config` via a request object, either of type
|
@@ -2064,7 +2066,7 @@ module Google
|
|
2064
2066
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2065
2067
|
#
|
2066
2068
|
# @param parent [::String]
|
2067
|
-
# Required. The parent collection to list
|
2069
|
+
# Required. The parent collection to list message buses on.
|
2068
2070
|
# @param page_size [::Integer]
|
2069
2071
|
# Optional. The maximum number of results to return on each page.
|
2070
2072
|
#
|
@@ -2259,7 +2261,7 @@ module Google
|
|
2259
2261
|
# Required. The message bus to create.
|
2260
2262
|
# @param message_bus_id [::String]
|
2261
2263
|
# Required. The user-provided ID to be assigned to the MessageBus. It should
|
2262
|
-
# match the format
|
2264
|
+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
2263
2265
|
# @param validate_only [::Boolean]
|
2264
2266
|
# Optional. If set, validate the request and preview the review, but do not
|
2265
2267
|
# post it.
|
@@ -2727,7 +2729,7 @@ module Google
|
|
2727
2729
|
# Required. The enrollment to create.
|
2728
2730
|
# @param enrollment_id [::String]
|
2729
2731
|
# Required. The user-provided ID to be assigned to the Enrollment. It should
|
2730
|
-
# match the format
|
2732
|
+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
2731
2733
|
# @param validate_only [::Boolean]
|
2732
2734
|
# Optional. If set, validate the request and preview the review, but do not
|
2733
2735
|
# post it.
|
@@ -3194,7 +3196,8 @@ module Google
|
|
3194
3196
|
# @param pipeline [::Google::Cloud::Eventarc::V1::Pipeline, ::Hash]
|
3195
3197
|
# Required. The pipeline to create.
|
3196
3198
|
# @param pipeline_id [::String]
|
3197
|
-
# Required. The user-provided ID to be assigned to the Pipeline.
|
3199
|
+
# Required. The user-provided ID to be assigned to the Pipeline. It should
|
3200
|
+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
3198
3201
|
# @param validate_only [::Boolean]
|
3199
3202
|
# Optional. If set, validate the request and preview the review, but do not
|
3200
3203
|
# post it.
|
@@ -3662,7 +3665,7 @@ module Google
|
|
3662
3665
|
# Required. The google api source to create.
|
3663
3666
|
# @param google_api_source_id [::String]
|
3664
3667
|
# Required. The user-provided ID to be assigned to the GoogleApiSource. It
|
3665
|
-
# should match the format
|
3668
|
+
# should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
3666
3669
|
# @param validate_only [::Boolean]
|
3667
3670
|
# Optional. If set, validate the request and preview the review, but do not
|
3668
3671
|
# post it.
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
# @param options [::Gapic::CallOptions, ::Hash]
|
126
126
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
127
127
|
#
|
128
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
128
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
129
129
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
130
130
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
131
131
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -138,6 +138,17 @@ module Google
|
|
138
138
|
# The standard list page size.
|
139
139
|
# @param page_token [::String]
|
140
140
|
# The standard list page token.
|
141
|
+
# @param return_partial_success [::Boolean]
|
142
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
143
|
+
# and those that are unreachable are returned in the
|
144
|
+
# [ListOperationsResponse.unreachable] field.
|
145
|
+
#
|
146
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
147
|
+
# is set to `"projects/example/locations/-"`.
|
148
|
+
#
|
149
|
+
# This field is not by default supported and will result in an
|
150
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
151
|
+
# service or product specific documentation.
|
141
152
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
142
153
|
# @yieldparam result [::Gapic::Operation]
|
143
154
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -66,7 +66,9 @@ module Google
|
|
66
66
|
rpc :CreateChannelConnection, ::Google::Cloud::Eventarc::V1::CreateChannelConnectionRequest, ::Google::Longrunning::Operation
|
67
67
|
# Delete a single ChannelConnection.
|
68
68
|
rpc :DeleteChannelConnection, ::Google::Cloud::Eventarc::V1::DeleteChannelConnectionRequest, ::Google::Longrunning::Operation
|
69
|
-
# Get a GoogleChannelConfig
|
69
|
+
# Get a GoogleChannelConfig.
|
70
|
+
# The name of the GoogleChannelConfig in the response is ALWAYS coded with
|
71
|
+
# projectID.
|
70
72
|
rpc :GetGoogleChannelConfig, ::Google::Cloud::Eventarc::V1::GetGoogleChannelConfigRequest, ::Google::Cloud::Eventarc::V1::GoogleChannelConfig
|
71
73
|
# Update a single GoogleChannelConfig
|
72
74
|
rpc :UpdateGoogleChannelConfig, ::Google::Cloud::Eventarc::V1::UpdateGoogleChannelConfigRequest, ::Google::Cloud::Eventarc::V1::GoogleChannelConfig
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n4google/cloud/eventarc/v1/google_channel_config.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
12
|
+
descriptor_data = "\n4google/cloud/eventarc/v1/google_channel_config.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbd\x03\n\x13GoogleChannelConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x0f\x63rypto_key_name\x18\x07 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12N\n\x06labels\x18\x08 \x03(\x0b\x32\x39.google.cloud.eventarc.v1.GoogleChannelConfig.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x99\x01\xea\x41\x95\x01\n+eventarc.googleapis.com/GoogleChannelConfig\x12;projects/{project}/locations/{location}/googleChannelConfig*\x14googleChannelConfigs2\x13googleChannelConfigB\xc3\x02\n\x1c\x63om.google.cloud.eventarc.v1B\x18GoogleChannelConfigProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -12,7 +12,7 @@ require 'google/protobuf/duration_pb'
|
|
12
12
|
require 'google/protobuf/timestamp_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n\'google/cloud/eventarc/v1/pipeline.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/eventarc/v1/logging_config.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
15
|
+
descriptor_data = "\n\'google/cloud/eventarc/v1/pipeline.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/eventarc/v1/logging_config.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x82\x18\n\x08Pipeline\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x06labels\x18\x04 \x03(\x0b\x32..google.cloud.eventarc.v1.Pipeline.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x03uid\x18\x05 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12M\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32\x33.google.cloud.eventarc.v1.Pipeline.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12I\n\x0c\x64\x65stinations\x18\x08 \x03(\x0b\x32..google.cloud.eventarc.v1.Pipeline.DestinationB\x03\xe0\x41\x02\x12\x45\n\nmediations\x18\t \x03(\x0b\x32,.google.cloud.eventarc.v1.Pipeline.MediationB\x03\xe0\x41\x01\x12\x42\n\x0f\x63rypto_key_name\x18\n \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12Z\n\x14input_payload_format\x18\x0b \x01(\x0b\x32\x37.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormatB\x03\xe0\x41\x01\x12\x44\n\x0elogging_config\x18\x0c \x01(\x0b\x32\'.google.cloud.eventarc.v1.LoggingConfigB\x03\xe0\x41\x01\x12I\n\x0cretry_policy\x18\r \x01(\x0b\x32..google.cloud.eventarc.v1.Pipeline.RetryPolicyB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x63 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x0e \x01(\x08\x42\x03\xe0\x41\x03\x1a\x9f\x03\n\x14MessagePayloadFormat\x12_\n\x08protobuf\x18\x01 \x01(\x0b\x32\x46.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.ProtobufFormatB\x03\xe0\x41\x01H\x00\x12W\n\x04\x61vro\x18\x02 \x01(\x0b\x32\x42.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.AvroFormatB\x03\xe0\x41\x01H\x00\x12W\n\x04json\x18\x03 \x01(\x0b\x32\x42.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormat.JsonFormatB\x03\xe0\x41\x01H\x00\x1a\x0c\n\nJsonFormat\x1a\x30\n\x0eProtobufFormat\x12\x1e\n\x11schema_definition\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a,\n\nAvroFormat\x12\x1e\n\x11schema_definition\x18\x01 \x01(\tB\x03\xe0\x41\x01\x42\x06\n\x04kind\x1a\xe5\t\n\x0b\x44\x65stination\x12Y\n\x0enetwork_config\x18\x01 \x01(\x0b\x32<.google.cloud.eventarc.v1.Pipeline.Destination.NetworkConfigB\x03\xe0\x41\x01\x12Y\n\rhttp_endpoint\x18\x02 \x01(\x0b\x32;.google.cloud.eventarc.v1.Pipeline.Destination.HttpEndpointB\x03\xe0\x41\x01H\x00\x12=\n\x08workflow\x18\x03 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!workflows.googleapis.com/WorkflowH\x00\x12\x41\n\x0bmessage_bus\x18\x04 \x01(\tB*\xe0\x41\x01\xfa\x41$\n\"eventarc.googleapis.com/MessageBusH\x00\x12\x34\n\x05topic\x18\x08 \x01(\tB#\xe0\x41\x01\xfa\x41\x1d\n\x1bpubsub.googleapis.com/TopicH\x00\x12g\n\x15\x61uthentication_config\x18\x05 \x01(\x0b\x32\x43.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfigB\x03\xe0\x41\x01\x12[\n\x15output_payload_format\x18\x06 \x01(\x0b\x32\x37.google.cloud.eventarc.v1.Pipeline.MessagePayloadFormatB\x03\xe0\x41\x01\x1a]\n\rNetworkConfig\x12L\n\x12network_attachment\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(compute.googleapis.com/NetworkAttachment\x1aG\n\x0cHttpEndpoint\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12%\n\x18message_binding_template\x18\x03 \x01(\tB\x03\xe0\x41\x01\x1a\xdf\x03\n\x14\x41uthenticationConfig\x12i\n\x0bgoogle_oidc\x18\x01 \x01(\x0b\x32M.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OidcTokenB\x03\xe0\x41\x01H\x00\x12j\n\x0boauth_token\x18\x02 \x01(\x0b\x32N.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OAuthTokenB\x03\xe0\x41\x01H\x00\x1a\x66\n\tOidcToken\x12\x42\n\x0fservice_account\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12\x15\n\x08\x61udience\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a\x64\n\nOAuthToken\x12\x42\n\x0fservice_account\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12\x12\n\x05scope\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\"\n authentication_method_descriptorB\x18\n\x16\x64\x65stination_descriptor\x1a\xb7\x01\n\tMediation\x12Z\n\x0etransformation\x18\x01 \x01(\x0b\x32;.google.cloud.eventarc.v1.Pipeline.Mediation.TransformationB\x03\xe0\x41\x01H\x00\x1a\x36\n\x0eTransformation\x12$\n\x17transformation_template\x18\x01 \x01(\tB\x03\xe0\x41\x01\x42\x16\n\x14mediation_descriptor\x1a\x9a\x01\n\x0bRetryPolicy\x12\x19\n\x0cmax_attempts\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x37\n\x0fmin_retry_delay\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x37\n\x0fmax_retry_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:x\xea\x41u\n eventarc.googleapis.com/Pipeline\x12<projects/{project}/locations/{location}/pipelines/{pipeline}*\tpipelines2\x08pipelineB\x80\x02\n\x1c\x63om.google.cloud.eventarc.v1B\rPipelineProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1\xea\x41@\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}b\x06proto3"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -11,7 +11,7 @@ require 'google/protobuf/timestamp_pb'
|
|
11
11
|
require 'google/rpc/code_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n&google/cloud/eventarc/v1/trigger.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/eventarc/v1/network_config.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\"\x9e\x07\n\x07Trigger\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\revent_filters\x18\x08 \x03(\x0b\x32%.google.cloud.eventarc.v1.EventFilterB\x06\xe0\x41\x06\xe0\x41\x02\x12\x42\n\x0fservice_account\x18\t \x01(\tB)\xe0\x41\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12?\n\x0b\x64\x65stination\x18\n \x01(\x0b\x32%.google.cloud.eventarc.v1.DestinationB\x03\xe0\x41\x02\x12;\n\ttransport\x18\x0b \x01(\x0b\x32#.google.cloud.eventarc.v1.TransportB\x03\xe0\x41\x01\x12\x42\n\x06labels\x18\x0c \x03(\x0b\x32-.google.cloud.eventarc.v1.Trigger.LabelsEntryB\x03\xe0\x41\x01\x12\x14\n\x07\x63hannel\x18\r \x01(\tB\x03\xe0\x41\x01\x12J\n\nconditions\x18\x0f \x03(\x0b\x32\x31.google.cloud.eventarc.v1.Trigger.ConditionsEntryB\x03\xe0\x41\x03\x12$\n\x17\x65vent_data_content_type\x18\x10 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rsatisfies_pzs\x18\x13 \x01(\x08\x42\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x63 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a[\n\x0f\x43onditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.google.cloud.eventarc.v1.StateCondition:\x02\x38\x01:s\xea\x41p\n\x1f\x65ventarc.googleapis.com/Trigger\x12:projects/{project}/locations/{location}/triggers/{trigger}*\x08triggers2\x07trigger\"P\n\x0b\x45ventFilter\x12\x16\n\tattribute\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08operator\x18\x03 \x01(\tB\x03\xe0\x41\x01\"A\n\x0eStateCondition\x12\x1e\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x10.google.rpc.Code\x12\x0f\n\x07message\x18\x02 \x01(\t\"\x91\x03\n\x0b\x44\x65stination\x12\x37\n\tcloud_run\x18\x01 \x01(\x0b\x32\".google.cloud.eventarc.v1.CloudRunH\x00\x12J\n\x0e\x63loud_function\x18\x02 \x01(\tB0\xfa\x41-\n+cloudfunctions.googleapis.com/CloudFunctionH\x00\x12,\n\x03gke\x18\x03 \x01(\x0b\x32\x1d.google.cloud.eventarc.v1.GKEH\x00\x12:\n\x08workflow\x18\x04 \x01(\tB&\xfa\x41#\n!workflows.googleapis.com/WorkflowH\x00\x12?\n\rhttp_endpoint\x18\x05 \x01(\x0b\x32&.google.cloud.eventarc.v1.HttpEndpointH\x00\x12\x44\n\x0enetwork_config\x18\x06 \x01(\x0b\x32\'.google.cloud.eventarc.v1.NetworkConfigB\x03\xe0\x41\x01\x42\x0c\n\ndescriptor\"O\n\tTransport\x12\x32\n\x06pubsub\x18\x01 \x01(\x0b\x32 .google.cloud.eventarc.v1.PubsubH\x00\x42\x0e\n\x0cintermediary\"g\n\x08\x43loudRun\x12\x33\n\x07service\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1arun.googleapis.com/Service\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x02\"s\n\x03GKE\x12\x14\n\x07\x63luster\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08location\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tnamespace\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07service\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04path\x18\x05 \x01(\tB\x03\xe0\x41\x01\"7\n\x06Pubsub\x12\x12\n\x05topic\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0csubscription\x18\x02 \x01(\tB\x03\xe0\x41\x03\" \n\x0cHttpEndpoint\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\
|
14
|
+
descriptor_data = "\n&google/cloud/eventarc/v1/trigger.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/eventarc/v1/network_config.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\"\x9e\x07\n\x07Trigger\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\revent_filters\x18\x08 \x03(\x0b\x32%.google.cloud.eventarc.v1.EventFilterB\x06\xe0\x41\x06\xe0\x41\x02\x12\x42\n\x0fservice_account\x18\t \x01(\tB)\xe0\x41\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12?\n\x0b\x64\x65stination\x18\n \x01(\x0b\x32%.google.cloud.eventarc.v1.DestinationB\x03\xe0\x41\x02\x12;\n\ttransport\x18\x0b \x01(\x0b\x32#.google.cloud.eventarc.v1.TransportB\x03\xe0\x41\x01\x12\x42\n\x06labels\x18\x0c \x03(\x0b\x32-.google.cloud.eventarc.v1.Trigger.LabelsEntryB\x03\xe0\x41\x01\x12\x14\n\x07\x63hannel\x18\r \x01(\tB\x03\xe0\x41\x01\x12J\n\nconditions\x18\x0f \x03(\x0b\x32\x31.google.cloud.eventarc.v1.Trigger.ConditionsEntryB\x03\xe0\x41\x03\x12$\n\x17\x65vent_data_content_type\x18\x10 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rsatisfies_pzs\x18\x13 \x01(\x08\x42\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x63 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a[\n\x0f\x43onditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.google.cloud.eventarc.v1.StateCondition:\x02\x38\x01:s\xea\x41p\n\x1f\x65ventarc.googleapis.com/Trigger\x12:projects/{project}/locations/{location}/triggers/{trigger}*\x08triggers2\x07trigger\"P\n\x0b\x45ventFilter\x12\x16\n\tattribute\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08operator\x18\x03 \x01(\tB\x03\xe0\x41\x01\"A\n\x0eStateCondition\x12\x1e\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x10.google.rpc.Code\x12\x0f\n\x07message\x18\x02 \x01(\t\"\x91\x03\n\x0b\x44\x65stination\x12\x37\n\tcloud_run\x18\x01 \x01(\x0b\x32\".google.cloud.eventarc.v1.CloudRunH\x00\x12J\n\x0e\x63loud_function\x18\x02 \x01(\tB0\xfa\x41-\n+cloudfunctions.googleapis.com/CloudFunctionH\x00\x12,\n\x03gke\x18\x03 \x01(\x0b\x32\x1d.google.cloud.eventarc.v1.GKEH\x00\x12:\n\x08workflow\x18\x04 \x01(\tB&\xfa\x41#\n!workflows.googleapis.com/WorkflowH\x00\x12?\n\rhttp_endpoint\x18\x05 \x01(\x0b\x32&.google.cloud.eventarc.v1.HttpEndpointH\x00\x12\x44\n\x0enetwork_config\x18\x06 \x01(\x0b\x32\'.google.cloud.eventarc.v1.NetworkConfigB\x03\xe0\x41\x01\x42\x0c\n\ndescriptor\"O\n\tTransport\x12\x32\n\x06pubsub\x18\x01 \x01(\x0b\x32 .google.cloud.eventarc.v1.PubsubH\x00\x42\x0e\n\x0cintermediary\"g\n\x08\x43loudRun\x12\x33\n\x07service\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1arun.googleapis.com/Service\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x02\"s\n\x03GKE\x12\x14\n\x07\x63luster\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08location\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tnamespace\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07service\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04path\x18\x05 \x01(\tB\x03\xe0\x41\x01\"7\n\x06Pubsub\x12\x12\n\x05topic\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0csubscription\x18\x02 \x01(\tB\x03\xe0\x41\x03\" \n\x0cHttpEndpoint\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\xa1\x05\n\x1c\x63om.google.cloud.eventarc.v1B\x0cTriggerProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xea\x41k\n+cloudfunctions.googleapis.com/CloudFunction\x12<projects/{project}/locations/{location}/functions/{function}\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}\xea\x41\x1f\n\x1arun.googleapis.com/Service\x12\x01*\xea\x41\x61\n!workflows.googleapis.com/Workflow\x12<projects/{project}/locations/{location}/workflows/{workflow}\xea\x41v\n(compute.googleapis.com/NetworkAttachment\x12Jprojects/{project}/regions/{region}/networkAttachments/{networkattachment}\xea\x41m\n\'integrations.googleapis.com/Integration\x12\x42projects/{project}/locations/{location}/integrations/{integration}b\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -61,7 +61,7 @@ module Google
|
|
61
61
|
# by the provider to register the channel for publishing.
|
62
62
|
# @!attribute [rw] crypto_key_name
|
63
63
|
# @return [::String]
|
64
|
-
# Resource name of a KMS crypto key (managed by the user) used to
|
64
|
+
# Optional. Resource name of a KMS crypto key (managed by the user) used to
|
65
65
|
# encrypt/decrypt their event data.
|
66
66
|
#
|
67
67
|
# It must match the pattern
|
@@ -70,10 +70,22 @@ module Google
|
|
70
70
|
# @return [::Boolean]
|
71
71
|
# Output only. Whether or not this Channel satisfies the requirements of
|
72
72
|
# physical zone separation
|
73
|
+
# @!attribute [rw] labels
|
74
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
75
|
+
# Optional. Resource labels.
|
73
76
|
class Channel
|
74
77
|
include ::Google::Protobuf::MessageExts
|
75
78
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
76
79
|
|
80
|
+
# @!attribute [rw] key
|
81
|
+
# @return [::String]
|
82
|
+
# @!attribute [rw] value
|
83
|
+
# @return [::String]
|
84
|
+
class LabelsEntry
|
85
|
+
include ::Google::Protobuf::MessageExts
|
86
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
87
|
+
end
|
88
|
+
|
77
89
|
# State lists all the possible states of a Channel
|
78
90
|
module State
|
79
91
|
# Default value. This value is unused.
|
@@ -49,9 +49,21 @@ module Google
|
|
49
49
|
# Input only. Activation token for the channel. The token will be used
|
50
50
|
# during the creation of ChannelConnection to bind the channel with the
|
51
51
|
# provider project. This field will not be stored in the provider resource.
|
52
|
+
# @!attribute [rw] labels
|
53
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
54
|
+
# Optional. Resource labels.
|
52
55
|
class ChannelConnection
|
53
56
|
include ::Google::Protobuf::MessageExts
|
54
57
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
58
|
+
|
59
|
+
# @!attribute [rw] key
|
60
|
+
# @return [::String]
|
61
|
+
# @!attribute [rw] value
|
62
|
+
# @return [::String]
|
63
|
+
class LabelsEntry
|
64
|
+
include ::Google::Protobuf::MessageExts
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
66
|
+
end
|
55
67
|
end
|
56
68
|
end
|
57
69
|
end
|
@@ -59,8 +59,8 @@ module Google
|
|
59
59
|
# applies to.
|
60
60
|
# @!attribute [rw] message_bus
|
61
61
|
# @return [::String]
|
62
|
-
# Required. Resource name of the message bus identifying the
|
63
|
-
# messages. It matches the form
|
62
|
+
# Required. Immutable. Resource name of the message bus identifying the
|
63
|
+
# source of the messages. It matches the form
|
64
64
|
# projects/\\{project}/locations/\\{location}/messageBuses/\\{messageBus}.
|
65
65
|
# @!attribute [rw] destination
|
66
66
|
# @return [::String]
|
@@ -402,7 +402,7 @@ module Google
|
|
402
402
|
# The request message for the ListMessageBuses method.
|
403
403
|
# @!attribute [rw] parent
|
404
404
|
# @return [::String]
|
405
|
-
# Required. The parent collection to list
|
405
|
+
# Required. The parent collection to list message buses on.
|
406
406
|
# @!attribute [rw] page_size
|
407
407
|
# @return [::Integer]
|
408
408
|
# Optional. The maximum number of results to return on each page.
|
@@ -493,7 +493,7 @@ module Google
|
|
493
493
|
# @!attribute [rw] message_bus_id
|
494
494
|
# @return [::String]
|
495
495
|
# Required. The user-provided ID to be assigned to the MessageBus. It should
|
496
|
-
# match the format
|
496
|
+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
497
497
|
# @!attribute [rw] validate_only
|
498
498
|
# @return [::Boolean]
|
499
499
|
# Optional. If set, validate the request and preview the review, but do not
|
@@ -612,7 +612,7 @@ module Google
|
|
612
612
|
# @!attribute [rw] enrollment_id
|
613
613
|
# @return [::String]
|
614
614
|
# Required. The user-provided ID to be assigned to the Enrollment. It should
|
615
|
-
# match the format
|
615
|
+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
616
616
|
# @!attribute [rw] validate_only
|
617
617
|
# @return [::Boolean]
|
618
618
|
# Optional. If set, validate the request and preview the review, but do not
|
@@ -730,7 +730,8 @@ module Google
|
|
730
730
|
# Required. The pipeline to create.
|
731
731
|
# @!attribute [rw] pipeline_id
|
732
732
|
# @return [::String]
|
733
|
-
# Required. The user-provided ID to be assigned to the Pipeline.
|
733
|
+
# Required. The user-provided ID to be assigned to the Pipeline. It should
|
734
|
+
# match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
734
735
|
# @!attribute [rw] validate_only
|
735
736
|
# @return [::Boolean]
|
736
737
|
# Optional. If set, validate the request and preview the review, but do not
|
@@ -849,7 +850,7 @@ module Google
|
|
849
850
|
# @!attribute [rw] google_api_source_id
|
850
851
|
# @return [::String]
|
851
852
|
# Required. The user-provided ID to be assigned to the GoogleApiSource. It
|
852
|
-
# should match the format
|
853
|
+
# should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
853
854
|
# @!attribute [rw] validate_only
|
854
855
|
# @return [::Boolean]
|
855
856
|
# Optional. If set, validate the request and preview the review, but do not
|
@@ -30,6 +30,8 @@ module Google
|
|
30
30
|
# @return [::String]
|
31
31
|
# Required. The resource name of the config. Must be in the format of,
|
32
32
|
# `projects/{project}/locations/{location}/googleChannelConfig`.
|
33
|
+
# In API responses, the config name always includes the projectID, regardless
|
34
|
+
# of whether the projectID or projectNumber was provided.
|
33
35
|
# @!attribute [r] update_time
|
34
36
|
# @return [::Google::Protobuf::Timestamp]
|
35
37
|
# Output only. The last-modified time.
|
@@ -40,9 +42,21 @@ module Google
|
|
40
42
|
#
|
41
43
|
# It must match the pattern
|
42
44
|
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
45
|
+
# @!attribute [rw] labels
|
46
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
47
|
+
# Optional. Resource labels.
|
43
48
|
class GoogleChannelConfig
|
44
49
|
include ::Google::Protobuf::MessageExts
|
45
50
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
51
|
+
|
52
|
+
# @!attribute [rw] key
|
53
|
+
# @return [::String]
|
54
|
+
# @!attribute [rw] value
|
55
|
+
# @return [::String]
|
56
|
+
class LabelsEntry
|
57
|
+
include ::Google::Protobuf::MessageExts
|
58
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
59
|
+
end
|
46
60
|
end
|
47
61
|
end
|
48
62
|
end
|
@@ -86,11 +86,15 @@ module Google
|
|
86
86
|
# @!attribute [rw] retry_policy
|
87
87
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::RetryPolicy]
|
88
88
|
# Optional. The retry policy to use in the pipeline.
|
89
|
-
# @!attribute [
|
89
|
+
# @!attribute [r] etag
|
90
90
|
# @return [::String]
|
91
91
|
# Output only. This checksum is computed by the server based on the value of
|
92
92
|
# other fields, and might be sent only on create requests to ensure that the
|
93
93
|
# client has an up-to-date value before proceeding.
|
94
|
+
# @!attribute [r] satisfies_pzs
|
95
|
+
# @return [::Boolean]
|
96
|
+
# Output only. Whether or not this Pipeline satisfies the requirements of
|
97
|
+
# physical zone separation
|
94
98
|
class Pipeline
|
95
99
|
include ::Google::Protobuf::MessageExts
|
96
100
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -181,9 +185,9 @@ module Google
|
|
181
185
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig]
|
182
186
|
# Optional. An authentication config used to authenticate message requests,
|
183
187
|
# such that destinations can verify the source. For example, this can be
|
184
|
-
# used with private
|
185
|
-
# like Cloud Run. This field is optional and should
|
186
|
-
# interested in authenticated push
|
188
|
+
# used with private Google Cloud destinations that require Google Cloud
|
189
|
+
# credentials for access like Cloud Run. This field is optional and should
|
190
|
+
# be set only by users interested in authenticated push.
|
187
191
|
# @!attribute [rw] output_payload_format
|
188
192
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat]
|
189
193
|
# Optional. The message format before it is delivered to the destination.
|
@@ -209,7 +213,7 @@ module Google
|
|
209
213
|
# Represents a HTTP endpoint destination.
|
210
214
|
# @!attribute [rw] uri
|
211
215
|
# @return [::String]
|
212
|
-
# Required. The URI of the HTTP
|
216
|
+
# Required. The URI of the HTTP endpoint.
|
213
217
|
#
|
214
218
|
# The value must be a RFC2396 URI string.
|
215
219
|
# Examples: `https://svc.us-central1.p.local:8080/route`.
|
@@ -221,10 +225,11 @@ module Google
|
|
221
225
|
#
|
222
226
|
# If a binding expression is not specified here, the message
|
223
227
|
# is treated as a CloudEvent and is mapped to the HTTP request according
|
224
|
-
# to the CloudEvent HTTP Protocol Binding Binary Content Mode
|
225
|
-
#
|
226
|
-
#
|
227
|
-
#
|
228
|
+
# to the CloudEvent HTTP Protocol Binding Binary Content Mode
|
229
|
+
# (https://github.com/cloudevents/spec/blob/main/cloudevents/bindings/http-protocol-binding.md#31-binary-content-mode).
|
230
|
+
# In this representation, all fields except the `data` and
|
231
|
+
# `datacontenttype` field on the message are mapped to HTTP request
|
232
|
+
# headers with a prefix of `ce-`.
|
228
233
|
#
|
229
234
|
# To construct the HTTP request payload and the value of the content-type
|
230
235
|
# HTTP header, the payload format is defined as follows:
|
@@ -254,7 +259,7 @@ module Google
|
|
254
259
|
# - If a map named `headers` exists on the result of the expression,
|
255
260
|
# then its key/value pairs are directly mapped to the HTTP request
|
256
261
|
# headers. The headers values are constructed from the corresponding
|
257
|
-
# value type
|
262
|
+
# value type's canonical representation. If the `headers` field doesn't
|
258
263
|
# exist then the resulting HTTP request will be the headers of the
|
259
264
|
# CloudEvent HTTP Binding Binary Content Mode representation of the final
|
260
265
|
# message. Note: If the specified binding expression, has updated the
|
@@ -296,6 +301,11 @@ module Google
|
|
296
301
|
# "body": "new-body"
|
297
302
|
# }
|
298
303
|
# ```
|
304
|
+
# - The default binding for the message payload can be accessed using the
|
305
|
+
# `body` variable. It conatins a string representation of the message
|
306
|
+
# payload in the format specified by the `output_payload_format` field.
|
307
|
+
# If the `input_payload_format` field is not set, the `body`
|
308
|
+
# variable contains the same message payload bytes that were published.
|
299
309
|
#
|
300
310
|
# Additionally, the following CEL extension functions are provided for
|
301
311
|
# use in this CEL expression:
|
@@ -353,33 +363,28 @@ module Google
|
|
353
363
|
# - toMap:
|
354
364
|
# [map1, map2, ...].toMap() -> map
|
355
365
|
# - Converts a CEL list of CEL maps to a single CEL map
|
356
|
-
# - toDestinationPayloadFormat():
|
357
|
-
# message.data.toDestinationPayloadFormat() -> string or bytes
|
358
|
-
# - Converts the message data to the destination payload format
|
359
|
-
# specified in Pipeline.Destination.output_payload_format
|
360
|
-
# - This function is meant to be applied to the message.data field.
|
361
|
-
# - If the destination payload format is not set, the function will
|
362
|
-
# return the message data unchanged.
|
363
366
|
# - toCloudEventJsonWithPayloadFormat:
|
364
367
|
# message.toCloudEventJsonWithPayloadFormat() -> map
|
365
368
|
# - Converts a message to the corresponding structure of JSON
|
366
|
-
# format for CloudEvents
|
367
|
-
# -
|
368
|
-
#
|
369
|
+
# format for CloudEvents.
|
370
|
+
# - It converts `data` to destination payload format
|
371
|
+
# specified in `output_payload_format`. If `output_payload_format` is
|
372
|
+
# not set, the data will remain unchanged.
|
373
|
+
# - It also sets the corresponding datacontenttype of
|
369
374
|
# the CloudEvent, as indicated by
|
370
|
-
#
|
371
|
-
# output_payload_format is set it will use the
|
372
|
-
# datacontenttype on the CloudEvent if present, else
|
373
|
-
# datacontenttype
|
375
|
+
# `output_payload_format`. If no
|
376
|
+
# `output_payload_format` is set it will use the value of the
|
377
|
+
# "datacontenttype" attribute on the CloudEvent if present, else
|
378
|
+
# remove "datacontenttype" attribute.
|
374
379
|
# - This function expects that the content of the message will
|
375
|
-
# adhere to the standard CloudEvent format. If it doesn
|
380
|
+
# adhere to the standard CloudEvent format. If it doesn't then this
|
376
381
|
# function will fail.
|
377
382
|
# - The result is a CEL map that corresponds to the JSON
|
378
383
|
# representation of the CloudEvent. To convert that data to a JSON
|
379
384
|
# string it can be chained with the toJsonString function.
|
380
385
|
#
|
381
386
|
# The Pipeline expects that the message it receives adheres to the
|
382
|
-
# standard CloudEvent format. If it doesn
|
387
|
+
# standard CloudEvent format. If it doesn't then the outgoing message
|
383
388
|
# request may fail with a persistent error.
|
384
389
|
class HttpEndpoint
|
385
390
|
include ::Google::Protobuf::MessageExts
|
@@ -390,7 +395,7 @@ module Google
|
|
390
395
|
# @!attribute [rw] google_oidc
|
391
396
|
# @return [::Google::Cloud::Eventarc::V1::Pipeline::Destination::AuthenticationConfig::OidcToken]
|
392
397
|
# Optional. This authenticate method will apply Google OIDC tokens
|
393
|
-
# signed by a
|
398
|
+
# signed by a Google Cloud service account to the requests.
|
394
399
|
#
|
395
400
|
# 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.
|
396
401
|
# @!attribute [rw] oauth_token
|
@@ -409,15 +414,15 @@ module Google
|
|
409
414
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
410
415
|
|
411
416
|
# Represents a config used to authenticate with a Google OIDC token using
|
412
|
-
# a
|
413
|
-
# Cloud Run and Cloud Functions destinations or HTTP
|
414
|
-
# support Google OIDC.
|
417
|
+
# a Google Cloud service account. Use this authentication method to
|
418
|
+
# invoke your Cloud Run and Cloud Functions destinations or HTTP
|
419
|
+
# endpoints that support Google OIDC.
|
415
420
|
# @!attribute [rw] service_account
|
416
421
|
# @return [::String]
|
417
422
|
# Required. Service account email used to generate the OIDC Token.
|
418
423
|
# The principal who calls this API must have
|
419
424
|
# iam.serviceAccounts.actAs permission in the service account. See
|
420
|
-
# https://cloud.google.com/iam/docs/understanding-service-accounts
|
425
|
+
# https://cloud.google.com/iam/docs/understanding-service-accounts
|
421
426
|
# for more information. Eventarc service agents must have
|
422
427
|
# roles/roles/iam.serviceAccountTokenCreator role to allow the
|
423
428
|
# Pipeline to create OpenID tokens for authenticated requests.
|
@@ -441,7 +446,7 @@ module Google
|
|
441
446
|
# token](https://developers.google.com/identity/protocols/OAuth2).
|
442
447
|
# The principal who calls this API must have
|
443
448
|
# iam.serviceAccounts.actAs permission in the service account. See
|
444
|
-
# https://cloud.google.com/iam/docs/understanding-service-accounts
|
449
|
+
# https://cloud.google.com/iam/docs/understanding-service-accounts
|
445
450
|
# for more information. Eventarc service agents must have
|
446
451
|
# roles/roles/iam.serviceAccountTokenCreator role to allow Pipeline
|
447
452
|
# to create OAuth2 tokens for authenticated requests.
|
@@ -539,7 +544,7 @@ module Google
|
|
539
544
|
# datacontenttype on the CloudEvent if present, else leave
|
540
545
|
# datacontenttype absent.
|
541
546
|
# - This function expects that the content of the message will
|
542
|
-
# adhere to the standard CloudEvent format. If it doesn
|
547
|
+
# adhere to the standard CloudEvent format. If it doesn't then this
|
543
548
|
# function will fail.
|
544
549
|
# - The result is a CEL map that corresponds to the JSON
|
545
550
|
# representation of the CloudEvent. To convert that data to a JSON
|
@@ -280,7 +280,7 @@ module Google
|
|
280
280
|
# Represents a HTTP endpoint destination.
|
281
281
|
# @!attribute [rw] uri
|
282
282
|
# @return [::String]
|
283
|
-
# Required. The URI of the HTTP
|
283
|
+
# Required. The URI of the HTTP endpoint.
|
284
284
|
#
|
285
285
|
# The value must be a RFC2396 URI string.
|
286
286
|
# Examples: `http://10.10.10.8:80/route`,
|
@@ -83,6 +83,18 @@ module Google
|
|
83
83
|
# @!attribute [rw] page_token
|
84
84
|
# @return [::String]
|
85
85
|
# The standard list page token.
|
86
|
+
# @!attribute [rw] return_partial_success
|
87
|
+
# @return [::Boolean]
|
88
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
89
|
+
# and those that are unreachable are returned in the
|
90
|
+
# [ListOperationsResponse.unreachable] field.
|
91
|
+
#
|
92
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
93
|
+
# is set to `"projects/example/locations/-"`.
|
94
|
+
#
|
95
|
+
# This field is not by default supported and will result in an
|
96
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
97
|
+
# service or product specific documentation.
|
86
98
|
class ListOperationsRequest
|
87
99
|
include ::Google::Protobuf::MessageExts
|
88
100
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -96,6 +108,12 @@ module Google
|
|
96
108
|
# @!attribute [rw] next_page_token
|
97
109
|
# @return [::String]
|
98
110
|
# The standard List next-page token.
|
111
|
+
# @!attribute [rw] unreachable
|
112
|
+
# @return [::Array<::String>]
|
113
|
+
# Unordered list. Unreachable resources. Populated when the request sets
|
114
|
+
# `ListOperationsRequest.return_partial_success` and reads across
|
115
|
+
# collections e.g. when attempting to list all resources across all supported
|
116
|
+
# locations.
|
99
117
|
class ListOperationsResponse
|
100
118
|
include ::Google::Protobuf::MessageExts
|
101
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|