google-cloud-eventarc-v1 1.0.0 → 1.1.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 +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 +51 -10
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/resource.rb +7 -2
- 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
@@ -102,6 +102,44 @@ module Google
|
|
102
102
|
"projects/#{project}/locations/#{location}/keyRings/#{key_ring}/cryptoKeys/#{crypto_key}"
|
103
103
|
end
|
104
104
|
|
105
|
+
##
|
106
|
+
# Create a fully-qualified Enrollment resource string.
|
107
|
+
#
|
108
|
+
# The resource will be in the following format:
|
109
|
+
#
|
110
|
+
# `projects/{project}/locations/{location}/enrollments/{enrollment}`
|
111
|
+
#
|
112
|
+
# @param project [String]
|
113
|
+
# @param location [String]
|
114
|
+
# @param enrollment [String]
|
115
|
+
#
|
116
|
+
# @return [::String]
|
117
|
+
def enrollment_path project:, location:, enrollment:
|
118
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
119
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
120
|
+
|
121
|
+
"projects/#{project}/locations/#{location}/enrollments/#{enrollment}"
|
122
|
+
end
|
123
|
+
|
124
|
+
##
|
125
|
+
# Create a fully-qualified GoogleApiSource resource string.
|
126
|
+
#
|
127
|
+
# The resource will be in the following format:
|
128
|
+
#
|
129
|
+
# `projects/{project}/locations/{location}/googleApiSources/{google_api_source}`
|
130
|
+
#
|
131
|
+
# @param project [String]
|
132
|
+
# @param location [String]
|
133
|
+
# @param google_api_source [String]
|
134
|
+
#
|
135
|
+
# @return [::String]
|
136
|
+
def google_api_source_path project:, location:, google_api_source:
|
137
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
138
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
139
|
+
|
140
|
+
"projects/#{project}/locations/#{location}/googleApiSources/#{google_api_source}"
|
141
|
+
end
|
142
|
+
|
105
143
|
##
|
106
144
|
# Create a fully-qualified GoogleChannelConfig resource string.
|
107
145
|
#
|
@@ -136,6 +174,63 @@ module Google
|
|
136
174
|
"projects/#{project}/locations/#{location}"
|
137
175
|
end
|
138
176
|
|
177
|
+
##
|
178
|
+
# Create a fully-qualified MessageBus resource string.
|
179
|
+
#
|
180
|
+
# The resource will be in the following format:
|
181
|
+
#
|
182
|
+
# `projects/{project}/locations/{location}/messageBuses/{message_bus}`
|
183
|
+
#
|
184
|
+
# @param project [String]
|
185
|
+
# @param location [String]
|
186
|
+
# @param message_bus [String]
|
187
|
+
#
|
188
|
+
# @return [::String]
|
189
|
+
def message_bus_path project:, location:, message_bus:
|
190
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
191
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
192
|
+
|
193
|
+
"projects/#{project}/locations/#{location}/messageBuses/#{message_bus}"
|
194
|
+
end
|
195
|
+
|
196
|
+
##
|
197
|
+
# Create a fully-qualified NetworkAttachment resource string.
|
198
|
+
#
|
199
|
+
# The resource will be in the following format:
|
200
|
+
#
|
201
|
+
# `projects/{project}/regions/{region}/networkAttachments/{networkattachment}`
|
202
|
+
#
|
203
|
+
# @param project [String]
|
204
|
+
# @param region [String]
|
205
|
+
# @param networkattachment [String]
|
206
|
+
#
|
207
|
+
# @return [::String]
|
208
|
+
def network_attachment_path project:, region:, networkattachment:
|
209
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
210
|
+
raise ::ArgumentError, "region cannot contain /" if region.to_s.include? "/"
|
211
|
+
|
212
|
+
"projects/#{project}/regions/#{region}/networkAttachments/#{networkattachment}"
|
213
|
+
end
|
214
|
+
|
215
|
+
##
|
216
|
+
# Create a fully-qualified Pipeline resource string.
|
217
|
+
#
|
218
|
+
# The resource will be in the following format:
|
219
|
+
#
|
220
|
+
# `projects/{project}/locations/{location}/pipelines/{pipeline}`
|
221
|
+
#
|
222
|
+
# @param project [String]
|
223
|
+
# @param location [String]
|
224
|
+
# @param pipeline [String]
|
225
|
+
#
|
226
|
+
# @return [::String]
|
227
|
+
def pipeline_path project:, location:, pipeline:
|
228
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
229
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
230
|
+
|
231
|
+
"projects/#{project}/locations/#{location}/pipelines/#{pipeline}"
|
232
|
+
end
|
233
|
+
|
139
234
|
##
|
140
235
|
# Create a fully-qualified Provider resource string.
|
141
236
|
#
|
@@ -172,6 +267,23 @@ module Google
|
|
172
267
|
"projects/#{project}/serviceAccounts/#{service_account}"
|
173
268
|
end
|
174
269
|
|
270
|
+
##
|
271
|
+
# Create a fully-qualified Topic resource string.
|
272
|
+
#
|
273
|
+
# The resource will be in the following format:
|
274
|
+
#
|
275
|
+
# `projects/{project}/topics/{topic}`
|
276
|
+
#
|
277
|
+
# @param project [String]
|
278
|
+
# @param topic [String]
|
279
|
+
#
|
280
|
+
# @return [::String]
|
281
|
+
def topic_path project:, topic:
|
282
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
283
|
+
|
284
|
+
"projects/#{project}/topics/#{topic}"
|
285
|
+
end
|
286
|
+
|
175
287
|
##
|
176
288
|
# Create a fully-qualified Trigger resource string.
|
177
289
|
#
|