google-cloud-datastream-v1alpha1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +167 -0
- data/LICENSE.md +201 -0
- data/README.md +139 -0
- data/lib/google/cloud/datastream/v1alpha1/datastream/client.rb +2192 -0
- data/lib/google/cloud/datastream/v1alpha1/datastream/credentials.rb +47 -0
- data/lib/google/cloud/datastream/v1alpha1/datastream/operations.rb +664 -0
- data/lib/google/cloud/datastream/v1alpha1/datastream/paths.rb +128 -0
- data/lib/google/cloud/datastream/v1alpha1/datastream.rb +50 -0
- data/lib/google/cloud/datastream/v1alpha1/datastream_pb.rb +216 -0
- data/lib/google/cloud/datastream/v1alpha1/datastream_resources_pb.rb +314 -0
- data/lib/google/cloud/datastream/v1alpha1/datastream_services_pb.rb +94 -0
- data/lib/google/cloud/datastream/v1alpha1/version.rb +28 -0
- data/lib/google/cloud/datastream/v1alpha1.rb +38 -0
- data/lib/google-cloud-datastream-v1alpha1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/resource.rb +283 -0
- data/proto_docs/google/cloud/datastream/v1alpha1/datastream.rb +638 -0
- data/proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb +788 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +129 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- metadata +220 -0
@@ -0,0 +1,638 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Datastream
|
23
|
+
module V1alpha1
|
24
|
+
# Request message for 'discover' ConnectionProfile request.
|
25
|
+
# @!attribute [rw] parent
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The parent resource of the ConnectionProfile type. Must be in the
|
28
|
+
# format `projects/*/locations/*`.
|
29
|
+
# @!attribute [rw] connection_profile
|
30
|
+
# @return [::Google::Cloud::Datastream::V1alpha1::ConnectionProfile]
|
31
|
+
# An ad-hoc ConnectionProfile configuration.
|
32
|
+
# @!attribute [rw] connection_profile_name
|
33
|
+
# @return [::String]
|
34
|
+
# A reference to an existing ConnectionProfile.
|
35
|
+
# @!attribute [rw] recursive
|
36
|
+
# @return [::Boolean]
|
37
|
+
# Whether to retrieve the full hierarchy of data objects (TRUE) or only the
|
38
|
+
# current level (FALSE).
|
39
|
+
# @!attribute [rw] recursion_depth
|
40
|
+
# @return [::Integer]
|
41
|
+
# The number of hierarchy levels below the current level to be retrieved.
|
42
|
+
# @!attribute [rw] oracle_rdbms
|
43
|
+
# @return [::Google::Cloud::Datastream::V1alpha1::OracleRdbms]
|
44
|
+
# Oracle RDBMS to enrich with child data objects and metadata.
|
45
|
+
# @!attribute [rw] mysql_rdbms
|
46
|
+
# @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms]
|
47
|
+
# MySQL RDBMS to enrich with child data objects and metadata.
|
48
|
+
class DiscoverConnectionProfileRequest
|
49
|
+
include ::Google::Protobuf::MessageExts
|
50
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
51
|
+
end
|
52
|
+
|
53
|
+
# @!attribute [rw] oracle_rdbms
|
54
|
+
# @return [::Google::Cloud::Datastream::V1alpha1::OracleRdbms]
|
55
|
+
# Enriched Oracle RDBMS object.
|
56
|
+
# @!attribute [rw] mysql_rdbms
|
57
|
+
# @return [::Google::Cloud::Datastream::V1alpha1::MysqlRdbms]
|
58
|
+
# Enriched MySQL RDBMS object.
|
59
|
+
class DiscoverConnectionProfileResponse
|
60
|
+
include ::Google::Protobuf::MessageExts
|
61
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
62
|
+
end
|
63
|
+
|
64
|
+
# Request message for 'FetchStaticIps' request.
|
65
|
+
# @!attribute [rw] name
|
66
|
+
# @return [::String]
|
67
|
+
# Required. The name resource of the Response type. Must be in the
|
68
|
+
# format `projects/*/locations/*`.
|
69
|
+
# @!attribute [rw] page_size
|
70
|
+
# @return [::Integer]
|
71
|
+
# Maximum number of Ips to return, will likely not be specified.
|
72
|
+
# @!attribute [rw] page_token
|
73
|
+
# @return [::String]
|
74
|
+
# A page token, received from a previous `ListStaticIps` call.
|
75
|
+
# will likely not be specified.
|
76
|
+
class FetchStaticIpsRequest
|
77
|
+
include ::Google::Protobuf::MessageExts
|
78
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
79
|
+
end
|
80
|
+
|
81
|
+
# Response message for a 'FetchStaticIps' response.
|
82
|
+
# @!attribute [rw] static_ips
|
83
|
+
# @return [::Array<::String>]
|
84
|
+
# list of static ips by account
|
85
|
+
# @!attribute [rw] next_page_token
|
86
|
+
# @return [::String]
|
87
|
+
# A token that can be sent as `page_token` to retrieve the next page.
|
88
|
+
# If this field is omitted, there are no subsequent pages.
|
89
|
+
class FetchStaticIpsResponse
|
90
|
+
include ::Google::Protobuf::MessageExts
|
91
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
92
|
+
end
|
93
|
+
|
94
|
+
# Request message for 'FetchErrors' request.
|
95
|
+
# @!attribute [rw] stream
|
96
|
+
# @return [::String]
|
97
|
+
# Name of the Stream resource for which to fetch any errors.
|
98
|
+
class FetchErrorsRequest
|
99
|
+
include ::Google::Protobuf::MessageExts
|
100
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
101
|
+
end
|
102
|
+
|
103
|
+
# Response message for a 'FetchErrors' response.
|
104
|
+
# @!attribute [rw] errors
|
105
|
+
# @return [::Array<::Google::Cloud::Datastream::V1alpha1::Error>]
|
106
|
+
# The list of errors on the Stream.
|
107
|
+
class FetchErrorsResponse
|
108
|
+
include ::Google::Protobuf::MessageExts
|
109
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
110
|
+
end
|
111
|
+
|
112
|
+
# @!attribute [rw] parent
|
113
|
+
# @return [::String]
|
114
|
+
# Required. The parent that owns the collection of connection profiles.
|
115
|
+
# @!attribute [rw] page_size
|
116
|
+
# @return [::Integer]
|
117
|
+
# Maximum number of connection profiles to return.
|
118
|
+
# If unspecified, at most 50 connection profiles will be returned.
|
119
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
120
|
+
# @!attribute [rw] page_token
|
121
|
+
# @return [::String]
|
122
|
+
# Page token received from a previous `ListConnectionProfiles` call.
|
123
|
+
# Provide this to retrieve the subsequent page.
|
124
|
+
#
|
125
|
+
# When paginating, all other parameters provided to `ListConnectionProfiles`
|
126
|
+
# must match the call that provided the page token.
|
127
|
+
# @!attribute [rw] filter
|
128
|
+
# @return [::String]
|
129
|
+
# Filter request.
|
130
|
+
# @!attribute [rw] order_by
|
131
|
+
# @return [::String]
|
132
|
+
# Order by fields for the result.
|
133
|
+
class ListConnectionProfilesRequest
|
134
|
+
include ::Google::Protobuf::MessageExts
|
135
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
136
|
+
end
|
137
|
+
|
138
|
+
# @!attribute [rw] connection_profiles
|
139
|
+
# @return [::Array<::Google::Cloud::Datastream::V1alpha1::ConnectionProfile>]
|
140
|
+
# List of connection profiles.
|
141
|
+
# @!attribute [rw] next_page_token
|
142
|
+
# @return [::String]
|
143
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
144
|
+
# If this field is omitted, there are no subsequent pages.
|
145
|
+
# @!attribute [rw] unreachable
|
146
|
+
# @return [::Array<::String>]
|
147
|
+
# Locations that could not be reached.
|
148
|
+
class ListConnectionProfilesResponse
|
149
|
+
include ::Google::Protobuf::MessageExts
|
150
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
151
|
+
end
|
152
|
+
|
153
|
+
# @!attribute [rw] name
|
154
|
+
# @return [::String]
|
155
|
+
# Required. The name of the connection profile resource to get.
|
156
|
+
class GetConnectionProfileRequest
|
157
|
+
include ::Google::Protobuf::MessageExts
|
158
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
159
|
+
end
|
160
|
+
|
161
|
+
# @!attribute [rw] parent
|
162
|
+
# @return [::String]
|
163
|
+
# Required. The parent that owns the collection of ConnectionProfiles.
|
164
|
+
# @!attribute [rw] connection_profile_id
|
165
|
+
# @return [::String]
|
166
|
+
# Required. The connection profile identifier.
|
167
|
+
# @!attribute [rw] connection_profile
|
168
|
+
# @return [::Google::Cloud::Datastream::V1alpha1::ConnectionProfile]
|
169
|
+
# Required. The connection profile resource to create.
|
170
|
+
# @!attribute [rw] request_id
|
171
|
+
# @return [::String]
|
172
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
173
|
+
# so that if you must retry your request, the server will know to ignore
|
174
|
+
# the request if it has already been completed. The server will guarantee
|
175
|
+
# that for at least 60 minutes since the first request.
|
176
|
+
#
|
177
|
+
# For example, consider a situation where you make an initial request and the
|
178
|
+
# request times out. If you make the request again with the same request ID,
|
179
|
+
# the server can check if original operation with the same request ID was
|
180
|
+
# received, and if so, will ignore the second request. This prevents clients
|
181
|
+
# from accidentally creating duplicate commitments.
|
182
|
+
#
|
183
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
184
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
185
|
+
class CreateConnectionProfileRequest
|
186
|
+
include ::Google::Protobuf::MessageExts
|
187
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
188
|
+
end
|
189
|
+
|
190
|
+
# @!attribute [rw] update_mask
|
191
|
+
# @return [::Google::Protobuf::FieldMask]
|
192
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
193
|
+
# ConnectionProfile resource by the update.
|
194
|
+
# The fields specified in the update_mask are relative to the resource, not
|
195
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
196
|
+
# user does not provide a mask then all fields will be overwritten.
|
197
|
+
# @!attribute [rw] connection_profile
|
198
|
+
# @return [::Google::Cloud::Datastream::V1alpha1::ConnectionProfile]
|
199
|
+
# Required. The ConnectionProfile to update.
|
200
|
+
# @!attribute [rw] request_id
|
201
|
+
# @return [::String]
|
202
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
203
|
+
# so that if you must retry your request, the server will know to ignore
|
204
|
+
# the request if it has already been completed. The server will guarantee
|
205
|
+
# that for at least 60 minutes since the first request.
|
206
|
+
#
|
207
|
+
# For example, consider a situation where you make an initial request and the
|
208
|
+
# request times out. If you make the request again with the same request ID,
|
209
|
+
# the server can check if original operation with the same request ID was
|
210
|
+
# received, and if so, will ignore the second request. This prevents clients
|
211
|
+
# from accidentally creating duplicate commitments.
|
212
|
+
#
|
213
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
214
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
215
|
+
class UpdateConnectionProfileRequest
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
219
|
+
|
220
|
+
# @!attribute [rw] name
|
221
|
+
# @return [::String]
|
222
|
+
# Required. The name of the connection profile resource to delete.
|
223
|
+
# @!attribute [rw] request_id
|
224
|
+
# @return [::String]
|
225
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
226
|
+
# so that if you must retry your request, the server will know to ignore
|
227
|
+
# the request if it has already been completed. The server will guarantee
|
228
|
+
# that for at least 60 minutes after the first request.
|
229
|
+
#
|
230
|
+
# For example, consider a situation where you make an initial request and the
|
231
|
+
# request times out. If you make the request again with the same request ID,
|
232
|
+
# the server can check if original operation with the same request ID was
|
233
|
+
# received, and if so, will ignore the second request. This prevents clients
|
234
|
+
# from accidentally creating duplicate commitments.
|
235
|
+
#
|
236
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
237
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
238
|
+
class DeleteConnectionProfileRequest
|
239
|
+
include ::Google::Protobuf::MessageExts
|
240
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
241
|
+
end
|
242
|
+
|
243
|
+
# @!attribute [rw] parent
|
244
|
+
# @return [::String]
|
245
|
+
# Required. The parent that owns the collection of streams.
|
246
|
+
# @!attribute [rw] page_size
|
247
|
+
# @return [::Integer]
|
248
|
+
# Maximum number of streams to return.
|
249
|
+
# If unspecified, at most 50 streams will be returned. The maximum
|
250
|
+
# value is 1000; values above 1000 will be coerced to 1000.
|
251
|
+
# @!attribute [rw] page_token
|
252
|
+
# @return [::String]
|
253
|
+
# Page token received from a previous `ListStreams` call.
|
254
|
+
# Provide this to retrieve the subsequent page.
|
255
|
+
#
|
256
|
+
# When paginating, all other parameters provided to `ListStreams`
|
257
|
+
# must match the call that provided the page token.
|
258
|
+
# @!attribute [rw] filter
|
259
|
+
# @return [::String]
|
260
|
+
# Filter request.
|
261
|
+
# @!attribute [rw] order_by
|
262
|
+
# @return [::String]
|
263
|
+
# Order by fields for the result.
|
264
|
+
class ListStreamsRequest
|
265
|
+
include ::Google::Protobuf::MessageExts
|
266
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
267
|
+
end
|
268
|
+
|
269
|
+
# @!attribute [rw] streams
|
270
|
+
# @return [::Array<::Google::Cloud::Datastream::V1alpha1::Stream>]
|
271
|
+
# List of streams
|
272
|
+
# @!attribute [rw] next_page_token
|
273
|
+
# @return [::String]
|
274
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
275
|
+
# If this field is omitted, there are no subsequent pages.
|
276
|
+
# @!attribute [rw] unreachable
|
277
|
+
# @return [::Array<::String>]
|
278
|
+
# Locations that could not be reached.
|
279
|
+
class ListStreamsResponse
|
280
|
+
include ::Google::Protobuf::MessageExts
|
281
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
282
|
+
end
|
283
|
+
|
284
|
+
# @!attribute [rw] name
|
285
|
+
# @return [::String]
|
286
|
+
# Required. The name of the stream resource to get.
|
287
|
+
class GetStreamRequest
|
288
|
+
include ::Google::Protobuf::MessageExts
|
289
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
290
|
+
end
|
291
|
+
|
292
|
+
# @!attribute [rw] parent
|
293
|
+
# @return [::String]
|
294
|
+
# Required. The parent that owns the collection of streams.
|
295
|
+
# @!attribute [rw] stream_id
|
296
|
+
# @return [::String]
|
297
|
+
# Required. The stream identifier.
|
298
|
+
# @!attribute [rw] stream
|
299
|
+
# @return [::Google::Cloud::Datastream::V1alpha1::Stream]
|
300
|
+
# Required. The stream resource to create.
|
301
|
+
# @!attribute [rw] request_id
|
302
|
+
# @return [::String]
|
303
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
304
|
+
# so that if you must retry your request, the server will know to ignore
|
305
|
+
# the request if it has already been completed. The server will guarantee
|
306
|
+
# that for at least 60 minutes since the first request.
|
307
|
+
#
|
308
|
+
# For example, consider a situation where you make an initial request and the
|
309
|
+
# request times out. If you make the request again with the same request ID,
|
310
|
+
# the server can check if original operation with the same request ID was
|
311
|
+
# received, and if so, will ignore the second request. This prevents clients
|
312
|
+
# from accidentally creating duplicate commitments.
|
313
|
+
#
|
314
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
315
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
316
|
+
# @!attribute [rw] validate_only
|
317
|
+
# @return [::Boolean]
|
318
|
+
# Optional. Only validate the stream, but do not create any resources.
|
319
|
+
# The default is false.
|
320
|
+
# @!attribute [rw] force
|
321
|
+
# @return [::Boolean]
|
322
|
+
# Optional. Create the stream without validating it.
|
323
|
+
class CreateStreamRequest
|
324
|
+
include ::Google::Protobuf::MessageExts
|
325
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
326
|
+
end
|
327
|
+
|
328
|
+
# @!attribute [rw] update_mask
|
329
|
+
# @return [::Google::Protobuf::FieldMask]
|
330
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
331
|
+
# stream resource by the update.
|
332
|
+
# The fields specified in the update_mask are relative to the resource, not
|
333
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
334
|
+
# user does not provide a mask then all fields will be overwritten.
|
335
|
+
# @!attribute [rw] stream
|
336
|
+
# @return [::Google::Cloud::Datastream::V1alpha1::Stream]
|
337
|
+
# Required. The stream resource to update.
|
338
|
+
# @!attribute [rw] request_id
|
339
|
+
# @return [::String]
|
340
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
341
|
+
# so that if you must retry your request, the server will know to ignore
|
342
|
+
# the request if it has already been completed. The server will guarantee
|
343
|
+
# that for at least 60 minutes since the first request.
|
344
|
+
#
|
345
|
+
# For example, consider a situation where you make an initial request and the
|
346
|
+
# request times out. If you make the request again with the same request ID,
|
347
|
+
# the server can check if original operation with the same request ID was
|
348
|
+
# received, and if so, will ignore the second request. This prevents clients
|
349
|
+
# from accidentally creating duplicate commitments.
|
350
|
+
#
|
351
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
352
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
353
|
+
# @!attribute [rw] validate_only
|
354
|
+
# @return [::Boolean]
|
355
|
+
# Optional. Only validate the stream with the changes, without actually updating it.
|
356
|
+
# The default is false.
|
357
|
+
# @!attribute [rw] force
|
358
|
+
# @return [::Boolean]
|
359
|
+
# Optional. Execute the update without validating it.
|
360
|
+
class UpdateStreamRequest
|
361
|
+
include ::Google::Protobuf::MessageExts
|
362
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
363
|
+
end
|
364
|
+
|
365
|
+
# @!attribute [rw] name
|
366
|
+
# @return [::String]
|
367
|
+
# Required. The name of the stream resource to delete.
|
368
|
+
# @!attribute [rw] request_id
|
369
|
+
# @return [::String]
|
370
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
371
|
+
# so that if you must retry your request, the server will know to ignore
|
372
|
+
# the request if it has already been completed. The server will guarantee
|
373
|
+
# that for at least 60 minutes after the first request.
|
374
|
+
#
|
375
|
+
# For example, consider a situation where you make an initial request and the
|
376
|
+
# request times out. If you make the request again with the same request ID,
|
377
|
+
# the server can check if original operation with the same request ID was
|
378
|
+
# received, and if so, will ignore the second request. This prevents clients
|
379
|
+
# from accidentally creating duplicate commitments.
|
380
|
+
#
|
381
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
382
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
383
|
+
class DeleteStreamRequest
|
384
|
+
include ::Google::Protobuf::MessageExts
|
385
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
386
|
+
end
|
387
|
+
|
388
|
+
# Represents the metadata of the long-running operation.
|
389
|
+
# @!attribute [r] create_time
|
390
|
+
# @return [::Google::Protobuf::Timestamp]
|
391
|
+
# Output only. The time the operation was created.
|
392
|
+
# @!attribute [r] end_time
|
393
|
+
# @return [::Google::Protobuf::Timestamp]
|
394
|
+
# Output only. The time the operation finished running.
|
395
|
+
# @!attribute [r] target
|
396
|
+
# @return [::String]
|
397
|
+
# Output only. Server-defined resource path for the target of the operation.
|
398
|
+
# @!attribute [r] verb
|
399
|
+
# @return [::String]
|
400
|
+
# Output only. Name of the verb executed by the operation.
|
401
|
+
# @!attribute [r] status_message
|
402
|
+
# @return [::String]
|
403
|
+
# Output only. Human-readable status of the operation, if any.
|
404
|
+
# @!attribute [r] requested_cancellation
|
405
|
+
# @return [::Boolean]
|
406
|
+
# Output only. Identifies whether the user has requested cancellation
|
407
|
+
# of the operation. Operations that have successfully been cancelled
|
408
|
+
# have [Operation.error][] value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
|
409
|
+
# corresponding to `Code.CANCELLED`.
|
410
|
+
# @!attribute [r] api_version
|
411
|
+
# @return [::String]
|
412
|
+
# Output only. API version used to start the operation.
|
413
|
+
# @!attribute [r] validation_result
|
414
|
+
# @return [::Google::Cloud::Datastream::V1alpha1::ValidationResult]
|
415
|
+
# Output only. Results of executed validations if there are any.
|
416
|
+
class OperationMetadata
|
417
|
+
include ::Google::Protobuf::MessageExts
|
418
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
419
|
+
end
|
420
|
+
|
421
|
+
# @!attribute [rw] parent
|
422
|
+
# @return [::String]
|
423
|
+
# Required. The parent that owns the collection of PrivateConnections.
|
424
|
+
# @!attribute [rw] private_connection_id
|
425
|
+
# @return [::String]
|
426
|
+
# Required. The private connectivity identifier.
|
427
|
+
# @!attribute [rw] private_connection
|
428
|
+
# @return [::Google::Cloud::Datastream::V1alpha1::PrivateConnection]
|
429
|
+
# Required. The Private Connectivity resource to create.
|
430
|
+
# @!attribute [rw] request_id
|
431
|
+
# @return [::String]
|
432
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
433
|
+
# so that if you must retry your request, the server will know to ignore
|
434
|
+
# the request if it has already been completed. The server will guarantee
|
435
|
+
# that for at least 60 minutes since the first request.
|
436
|
+
#
|
437
|
+
# For example, consider a situation where you make an initial request and the
|
438
|
+
# request times out. If you make the request again with the same request ID,
|
439
|
+
# the server can check if original operation with the same request ID was
|
440
|
+
# received, and if so, will ignore the second request. This prevents clients
|
441
|
+
# from accidentally creating duplicate commitments.
|
442
|
+
#
|
443
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
444
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
445
|
+
class CreatePrivateConnectionRequest
|
446
|
+
include ::Google::Protobuf::MessageExts
|
447
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
448
|
+
end
|
449
|
+
|
450
|
+
# @!attribute [rw] parent
|
451
|
+
# @return [::String]
|
452
|
+
# Required. The parent that owns the collection of private connectivity configurations.
|
453
|
+
# @!attribute [rw] page_size
|
454
|
+
# @return [::Integer]
|
455
|
+
# Maximum number of private connectivity configurations to return.
|
456
|
+
# If unspecified, at most 50 private connectivity configurations that will be
|
457
|
+
# returned. The maximum value is 1000; values above 1000 will be coerced to
|
458
|
+
# 1000.
|
459
|
+
# @!attribute [rw] page_token
|
460
|
+
# @return [::String]
|
461
|
+
# Page token received from a previous `ListPrivateConnections` call.
|
462
|
+
# Provide this to retrieve the subsequent page.
|
463
|
+
#
|
464
|
+
# When paginating, all other parameters provided to
|
465
|
+
# `ListPrivateConnections` must match the call that provided the page
|
466
|
+
# token.
|
467
|
+
# @!attribute [rw] filter
|
468
|
+
# @return [::String]
|
469
|
+
# Filter request.
|
470
|
+
# @!attribute [rw] order_by
|
471
|
+
# @return [::String]
|
472
|
+
# Order by fields for the result.
|
473
|
+
class ListPrivateConnectionsRequest
|
474
|
+
include ::Google::Protobuf::MessageExts
|
475
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
476
|
+
end
|
477
|
+
|
478
|
+
# @!attribute [rw] private_connections
|
479
|
+
# @return [::Array<::Google::Cloud::Datastream::V1alpha1::PrivateConnection>]
|
480
|
+
# List of private connectivity configurations.
|
481
|
+
# @!attribute [rw] next_page_token
|
482
|
+
# @return [::String]
|
483
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
484
|
+
# If this field is omitted, there are no subsequent pages.
|
485
|
+
# @!attribute [rw] unreachable
|
486
|
+
# @return [::Array<::String>]
|
487
|
+
# Locations that could not be reached.
|
488
|
+
class ListPrivateConnectionsResponse
|
489
|
+
include ::Google::Protobuf::MessageExts
|
490
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
491
|
+
end
|
492
|
+
|
493
|
+
# @!attribute [rw] name
|
494
|
+
# @return [::String]
|
495
|
+
# Required. The name of the private connectivity configuration to delete.
|
496
|
+
# @!attribute [rw] request_id
|
497
|
+
# @return [::String]
|
498
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
499
|
+
# so that if you must retry your request, the server will know to ignore
|
500
|
+
# the request if it has already been completed. The server will guarantee
|
501
|
+
# that for at least 60 minutes after the first request.
|
502
|
+
#
|
503
|
+
# For example, consider a situation where you make an initial request and the
|
504
|
+
# request times out. If you make the request again with the same request ID,
|
505
|
+
# the server can check if original operation with the same request ID was
|
506
|
+
# received, and if so, will ignore the second request. This prevents clients
|
507
|
+
# from accidentally creating duplicate commitments.
|
508
|
+
#
|
509
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
510
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
511
|
+
# @!attribute [rw] force
|
512
|
+
# @return [::Boolean]
|
513
|
+
# Optional. If set to true, any child routes that belong to this PrivateConnection will
|
514
|
+
# also be deleted.
|
515
|
+
class DeletePrivateConnectionRequest
|
516
|
+
include ::Google::Protobuf::MessageExts
|
517
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
518
|
+
end
|
519
|
+
|
520
|
+
# @!attribute [rw] name
|
521
|
+
# @return [::String]
|
522
|
+
# Required. The name of the private connectivity configuration to get.
|
523
|
+
class GetPrivateConnectionRequest
|
524
|
+
include ::Google::Protobuf::MessageExts
|
525
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
526
|
+
end
|
527
|
+
|
528
|
+
# route creation request
|
529
|
+
# @!attribute [rw] parent
|
530
|
+
# @return [::String]
|
531
|
+
# Required. The parent that owns the collection of Routes.
|
532
|
+
# @!attribute [rw] route_id
|
533
|
+
# @return [::String]
|
534
|
+
# Required. The Route identifier.
|
535
|
+
# @!attribute [rw] route
|
536
|
+
# @return [::Google::Cloud::Datastream::V1alpha1::Route]
|
537
|
+
# Required. The Route resource to create.
|
538
|
+
# @!attribute [rw] request_id
|
539
|
+
# @return [::String]
|
540
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
541
|
+
# so that if you must retry your request, the server will know to ignore
|
542
|
+
# the request if it has already been completed. The server will guarantee
|
543
|
+
# that for at least 60 minutes since the first request.
|
544
|
+
#
|
545
|
+
# For example, consider a situation where you make an initial request and the
|
546
|
+
# request times out. If you make the request again with the same request ID,
|
547
|
+
# the server can check if original operation with the same request ID was
|
548
|
+
# received, and if so, will ignore the second request. This prevents clients
|
549
|
+
# from accidentally creating duplicate commitments.
|
550
|
+
#
|
551
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
552
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
553
|
+
class CreateRouteRequest
|
554
|
+
include ::Google::Protobuf::MessageExts
|
555
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
556
|
+
end
|
557
|
+
|
558
|
+
# route list request
|
559
|
+
# @!attribute [rw] parent
|
560
|
+
# @return [::String]
|
561
|
+
# Required. The parent that owns the collection of Routess.
|
562
|
+
# @!attribute [rw] page_size
|
563
|
+
# @return [::Integer]
|
564
|
+
# Maximum number of Routes to return. The service may return
|
565
|
+
# fewer than this value. If unspecified, at most 50 Routes
|
566
|
+
# will be returned. The maximum value is 1000; values above 1000 will be
|
567
|
+
# coerced to 1000.
|
568
|
+
# @!attribute [rw] page_token
|
569
|
+
# @return [::String]
|
570
|
+
# Page token received from a previous `ListRoutes` call.
|
571
|
+
# Provide this to retrieve the subsequent page.
|
572
|
+
#
|
573
|
+
# When paginating, all other parameters provided to
|
574
|
+
# `ListRoutes` must match the call that provided the page
|
575
|
+
# token.
|
576
|
+
# @!attribute [rw] filter
|
577
|
+
# @return [::String]
|
578
|
+
# Filter request.
|
579
|
+
# @!attribute [rw] order_by
|
580
|
+
# @return [::String]
|
581
|
+
# Order by fields for the result.
|
582
|
+
class ListRoutesRequest
|
583
|
+
include ::Google::Protobuf::MessageExts
|
584
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
585
|
+
end
|
586
|
+
|
587
|
+
# route list response
|
588
|
+
# @!attribute [rw] routes
|
589
|
+
# @return [::Array<::Google::Cloud::Datastream::V1alpha1::Route>]
|
590
|
+
# List of Routes.
|
591
|
+
# @!attribute [rw] next_page_token
|
592
|
+
# @return [::String]
|
593
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
594
|
+
# If this field is omitted, there are no subsequent pages.
|
595
|
+
# @!attribute [rw] unreachable
|
596
|
+
# @return [::Array<::String>]
|
597
|
+
# Locations that could not be reached.
|
598
|
+
class ListRoutesResponse
|
599
|
+
include ::Google::Protobuf::MessageExts
|
600
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
601
|
+
end
|
602
|
+
|
603
|
+
# route deletion request
|
604
|
+
# @!attribute [rw] name
|
605
|
+
# @return [::String]
|
606
|
+
# Required. The name of the Route resource to delete.
|
607
|
+
# @!attribute [rw] request_id
|
608
|
+
# @return [::String]
|
609
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
610
|
+
# so that if you must retry your request, the server will know to ignore
|
611
|
+
# the request if it has already been completed. The server will guarantee
|
612
|
+
# that for at least 60 minutes after the first request.
|
613
|
+
#
|
614
|
+
# For example, consider a situation where you make an initial request and the
|
615
|
+
# request times out. If you make the request again with the same request ID,
|
616
|
+
# the server can check if original operation with the same request ID was
|
617
|
+
# received, and if so, will ignore the second request. This prevents clients
|
618
|
+
# from accidentally creating duplicate commitments.
|
619
|
+
#
|
620
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
621
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
622
|
+
class DeleteRouteRequest
|
623
|
+
include ::Google::Protobuf::MessageExts
|
624
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
625
|
+
end
|
626
|
+
|
627
|
+
# route get request
|
628
|
+
# @!attribute [rw] name
|
629
|
+
# @return [::String]
|
630
|
+
# Required. The name of the Route resource to get.
|
631
|
+
class GetRouteRequest
|
632
|
+
include ::Google::Protobuf::MessageExts
|
633
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
634
|
+
end
|
635
|
+
end
|
636
|
+
end
|
637
|
+
end
|
638
|
+
end
|