google-cloud-eventarc-v1 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/eventarc/v1/bindings_override.rb +96 -0
- data/lib/google/cloud/eventarc/v1/channel_pb.rb +1 -1
- data/lib/google/cloud/eventarc/v1/enrollment_pb.rb +47 -0
- data/lib/google/cloud/eventarc/v1/eventarc/client.rb +2565 -174
- data/lib/google/cloud/eventarc/v1/eventarc/paths.rb +112 -0
- data/lib/google/cloud/eventarc/v1/eventarc/rest/client.rb +2420 -180
- data/lib/google/cloud/eventarc/v1/eventarc/rest/service_stub.rb +1335 -88
- data/lib/google/cloud/eventarc/v1/eventarc_pb.rb +35 -1
- data/lib/google/cloud/eventarc/v1/eventarc_services_pb.rb +42 -0
- data/lib/google/cloud/eventarc/v1/google_api_source_pb.rb +50 -0
- data/lib/google/cloud/eventarc/v1/logging_config_pb.rb +45 -0
- data/lib/google/cloud/eventarc/v1/message_bus_pb.rb +49 -0
- data/lib/google/cloud/eventarc/v1/network_config_pb.rb +45 -0
- data/lib/google/cloud/eventarc/v1/pipeline_pb.rb +65 -0
- data/lib/google/cloud/eventarc/v1/trigger_pb.rb +4 -1
- data/lib/google/cloud/eventarc/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +20 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/cloud/eventarc/v1/channel.rb +5 -1
- data/proto_docs/google/cloud/eventarc/v1/discovery.rb +8 -7
- data/proto_docs/google/cloud/eventarc/v1/enrollment.rb +95 -0
- data/proto_docs/google/cloud/eventarc/v1/eventarc.rb +522 -8
- data/proto_docs/google/cloud/eventarc/v1/google_api_source.rb +95 -0
- data/proto_docs/google/cloud/eventarc/v1/logging_config.rb +78 -0
- data/proto_docs/google/cloud/eventarc/v1/message_bus.rb +94 -0
- data/proto_docs/google/cloud/eventarc/v1/network_config.rb +37 -0
- data/proto_docs/google/cloud/eventarc/v1/pipeline.rb +583 -0
- data/proto_docs/google/cloud/eventarc/v1/trigger.rb +76 -35
- metadata +16 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f9a2ce45722831507d313551122a385a417f5861dcc63f67164b5469299d26b
|
4
|
+
data.tar.gz: 80359c4ac6c07f3b076953ac6981a76904e5e4fe4823f1260be407f1620bee14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df22257492ef9754639f643a5d03e622ff1ca805e51659ea5c8f4b4c03d95268802172a4216ab2bbefc87132ed73f746d3758a47e98c65a859d7bec46a07a5a9
|
7
|
+
data.tar.gz: b14d9ea2338334b4dc4dbc70b744249d72ac9ab23a59b7066e1543cbbb9c35ae63f36bd63586fd41f8388b2403ec3817df2aba56dfafba21974137bdbf5729bd
|
@@ -89,6 +89,38 @@ module Google
|
|
89
89
|
["resource", %r{^projects/[^/]+/locations/[^/]+/channelConnections/[^/]+/?$}, false]
|
90
90
|
],
|
91
91
|
body: nil
|
92
|
+
),
|
93
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
94
|
+
uri_method: :get,
|
95
|
+
uri_template: "/v1/{resource}:getIamPolicy",
|
96
|
+
matches: [
|
97
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+/?$}, false]
|
98
|
+
],
|
99
|
+
body: nil
|
100
|
+
),
|
101
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
102
|
+
uri_method: :get,
|
103
|
+
uri_template: "/v1/{resource}:getIamPolicy",
|
104
|
+
matches: [
|
105
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/enrollments/[^/]+/?$}, false]
|
106
|
+
],
|
107
|
+
body: nil
|
108
|
+
),
|
109
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
110
|
+
uri_method: :get,
|
111
|
+
uri_template: "/v1/{resource}:getIamPolicy",
|
112
|
+
matches: [
|
113
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/pipelines/[^/]+/?$}, false]
|
114
|
+
],
|
115
|
+
body: nil
|
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/[^/]+/googleApiSources/[^/]+/?$}, false]
|
122
|
+
],
|
123
|
+
body: nil
|
92
124
|
)
|
93
125
|
]
|
94
126
|
default_config.bindings_override["google.iam.v1.IAMPolicy.SetIamPolicy"] = [
|
@@ -116,6 +148,38 @@ module Google
|
|
116
148
|
["resource", %r{^projects/[^/]+/locations/[^/]+/channelConnections/[^/]+/?$}, false]
|
117
149
|
],
|
118
150
|
body: "*"
|
151
|
+
),
|
152
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
153
|
+
uri_method: :post,
|
154
|
+
uri_template: "/v1/{resource}:setIamPolicy",
|
155
|
+
matches: [
|
156
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+/?$}, false]
|
157
|
+
],
|
158
|
+
body: "*"
|
159
|
+
),
|
160
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
161
|
+
uri_method: :post,
|
162
|
+
uri_template: "/v1/{resource}:setIamPolicy",
|
163
|
+
matches: [
|
164
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/enrollments/[^/]+/?$}, false]
|
165
|
+
],
|
166
|
+
body: "*"
|
167
|
+
),
|
168
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
169
|
+
uri_method: :post,
|
170
|
+
uri_template: "/v1/{resource}:setIamPolicy",
|
171
|
+
matches: [
|
172
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/pipelines/[^/]+/?$}, false]
|
173
|
+
],
|
174
|
+
body: "*"
|
175
|
+
),
|
176
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
177
|
+
uri_method: :post,
|
178
|
+
uri_template: "/v1/{resource}:setIamPolicy",
|
179
|
+
matches: [
|
180
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+/?$}, false]
|
181
|
+
],
|
182
|
+
body: "*"
|
119
183
|
)
|
120
184
|
]
|
121
185
|
default_config.bindings_override["google.iam.v1.IAMPolicy.TestIamPermissions"] = [
|
@@ -143,6 +207,38 @@ module Google
|
|
143
207
|
["resource", %r{^projects/[^/]+/locations/[^/]+/channelConnections/[^/]+/?$}, false]
|
144
208
|
],
|
145
209
|
body: "*"
|
210
|
+
),
|
211
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
212
|
+
uri_method: :post,
|
213
|
+
uri_template: "/v1/{resource}:testIamPermissions",
|
214
|
+
matches: [
|
215
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+/?$}, false]
|
216
|
+
],
|
217
|
+
body: "*"
|
218
|
+
),
|
219
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
220
|
+
uri_method: :post,
|
221
|
+
uri_template: "/v1/{resource}:testIamPermissions",
|
222
|
+
matches: [
|
223
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/enrollments/[^/]+/?$}, false]
|
224
|
+
],
|
225
|
+
body: "*"
|
226
|
+
),
|
227
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
228
|
+
uri_method: :post,
|
229
|
+
uri_template: "/v1/{resource}:testIamPermissions",
|
230
|
+
matches: [
|
231
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/pipelines/[^/]+/?$}, false]
|
232
|
+
],
|
233
|
+
body: "*"
|
234
|
+
),
|
235
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
236
|
+
uri_method: :post,
|
237
|
+
uri_template: "/v1/{resource}:testIamPermissions",
|
238
|
+
matches: [
|
239
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+/?$}, false]
|
240
|
+
],
|
241
|
+
body: "*"
|
146
242
|
)
|
147
243
|
]
|
148
244
|
default_config
|
@@ -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\"\xcb\x04\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?\n\x0f\x63rypto_key_name\x18\x0b \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x1a\n\rsatisfies_pzs\x18\x0c \x01(\x08\x42\x03\xe0\x41\x03\"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
|
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/eventarc/v1/enrollment.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
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\"\xbe\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?\n\x0bmessage_bus\x18\n \x01(\tB*\xe0\x41\x02\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
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
|
16
|
+
begin
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
rescue TypeError
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
22
|
+
parsed.clear_dependency
|
23
|
+
serialized = parsed.class.encode(parsed)
|
24
|
+
file = pool.add_serialized_file(serialized)
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
|
+
imports = [
|
27
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
28
|
+
]
|
29
|
+
imports.each do |type_name, expected_filename|
|
30
|
+
import_file = pool.lookup(type_name).file_descriptor
|
31
|
+
if import_file.name != expected_filename
|
32
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
36
|
+
warn "This will become an error in the next major version."
|
37
|
+
end
|
38
|
+
|
39
|
+
module Google
|
40
|
+
module Cloud
|
41
|
+
module Eventarc
|
42
|
+
module V1
|
43
|
+
Enrollment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.Enrollment").msgclass
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|