google-cloud-datastream 1.13.2__py3-none-any.whl
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.
- google/cloud/datastream/__init__.py +219 -0
- google/cloud/datastream/gapic_version.py +16 -0
- google/cloud/datastream/py.typed +2 -0
- google/cloud/datastream_v1/__init__.py +216 -0
- google/cloud/datastream_v1/gapic_metadata.json +418 -0
- google/cloud/datastream_v1/gapic_version.py +16 -0
- google/cloud/datastream_v1/py.typed +2 -0
- google/cloud/datastream_v1/services/__init__.py +15 -0
- google/cloud/datastream_v1/services/datastream/__init__.py +22 -0
- google/cloud/datastream_v1/services/datastream/async_client.py +3939 -0
- google/cloud/datastream_v1/services/datastream/client.py +4420 -0
- google/cloud/datastream_v1/services/datastream/pagers.py +977 -0
- google/cloud/datastream_v1/services/datastream/transports/__init__.py +36 -0
- google/cloud/datastream_v1/services/datastream/transports/base.py +639 -0
- google/cloud/datastream_v1/services/datastream/transports/grpc.py +1193 -0
- google/cloud/datastream_v1/services/datastream/transports/grpc_asyncio.py +1389 -0
- google/cloud/datastream_v1/services/datastream/transports/rest.py +6861 -0
- google/cloud/datastream_v1/services/datastream/transports/rest_base.py +1591 -0
- google/cloud/datastream_v1/types/__init__.py +208 -0
- google/cloud/datastream_v1/types/datastream.py +1491 -0
- google/cloud/datastream_v1/types/datastream_resources.py +2986 -0
- google/cloud/datastream_v1alpha1/__init__.py +156 -0
- google/cloud/datastream_v1alpha1/gapic_metadata.json +343 -0
- google/cloud/datastream_v1alpha1/gapic_version.py +16 -0
- google/cloud/datastream_v1alpha1/py.typed +2 -0
- google/cloud/datastream_v1alpha1/services/__init__.py +15 -0
- google/cloud/datastream_v1alpha1/services/datastream/__init__.py +22 -0
- google/cloud/datastream_v1alpha1/services/datastream/async_client.py +3018 -0
- google/cloud/datastream_v1alpha1/services/datastream/client.py +3458 -0
- google/cloud/datastream_v1alpha1/services/datastream/pagers.py +821 -0
- google/cloud/datastream_v1alpha1/services/datastream/transports/__init__.py +36 -0
- google/cloud/datastream_v1alpha1/services/datastream/transports/base.py +467 -0
- google/cloud/datastream_v1alpha1/services/datastream/transports/grpc.py +942 -0
- google/cloud/datastream_v1alpha1/services/datastream/transports/grpc_asyncio.py +1078 -0
- google/cloud/datastream_v1alpha1/services/datastream/transports/rest.py +4770 -0
- google/cloud/datastream_v1alpha1/services/datastream/transports/rest_base.py +1152 -0
- google/cloud/datastream_v1alpha1/types/__init__.py +148 -0
- google/cloud/datastream_v1alpha1/types/datastream.py +1230 -0
- google/cloud/datastream_v1alpha1/types/datastream_resources.py +1416 -0
- google_cloud_datastream-1.13.2.dist-info/LICENSE +202 -0
- google_cloud_datastream-1.13.2.dist-info/METADATA +229 -0
- google_cloud_datastream-1.13.2.dist-info/RECORD +44 -0
- google_cloud_datastream-1.13.2.dist-info/WHEEL +5 -0
- google_cloud_datastream-1.13.2.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1491 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2024 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
from __future__ import annotations
|
|
17
|
+
|
|
18
|
+
from typing import MutableMapping, MutableSequence
|
|
19
|
+
|
|
20
|
+
from google.protobuf import field_mask_pb2 # type: ignore
|
|
21
|
+
from google.protobuf import timestamp_pb2 # type: ignore
|
|
22
|
+
import proto # type: ignore
|
|
23
|
+
|
|
24
|
+
from google.cloud.datastream_v1.types import datastream_resources
|
|
25
|
+
|
|
26
|
+
__protobuf__ = proto.module(
|
|
27
|
+
package="google.cloud.datastream.v1",
|
|
28
|
+
manifest={
|
|
29
|
+
"DiscoverConnectionProfileRequest",
|
|
30
|
+
"DiscoverConnectionProfileResponse",
|
|
31
|
+
"FetchStaticIpsRequest",
|
|
32
|
+
"FetchStaticIpsResponse",
|
|
33
|
+
"ListConnectionProfilesRequest",
|
|
34
|
+
"ListConnectionProfilesResponse",
|
|
35
|
+
"GetConnectionProfileRequest",
|
|
36
|
+
"CreateConnectionProfileRequest",
|
|
37
|
+
"UpdateConnectionProfileRequest",
|
|
38
|
+
"DeleteConnectionProfileRequest",
|
|
39
|
+
"ListStreamsRequest",
|
|
40
|
+
"ListStreamsResponse",
|
|
41
|
+
"GetStreamRequest",
|
|
42
|
+
"CreateStreamRequest",
|
|
43
|
+
"UpdateStreamRequest",
|
|
44
|
+
"DeleteStreamRequest",
|
|
45
|
+
"RunStreamRequest",
|
|
46
|
+
"GetStreamObjectRequest",
|
|
47
|
+
"LookupStreamObjectRequest",
|
|
48
|
+
"StartBackfillJobRequest",
|
|
49
|
+
"StartBackfillJobResponse",
|
|
50
|
+
"StopBackfillJobRequest",
|
|
51
|
+
"StopBackfillJobResponse",
|
|
52
|
+
"ListStreamObjectsRequest",
|
|
53
|
+
"ListStreamObjectsResponse",
|
|
54
|
+
"OperationMetadata",
|
|
55
|
+
"CreatePrivateConnectionRequest",
|
|
56
|
+
"ListPrivateConnectionsRequest",
|
|
57
|
+
"ListPrivateConnectionsResponse",
|
|
58
|
+
"DeletePrivateConnectionRequest",
|
|
59
|
+
"GetPrivateConnectionRequest",
|
|
60
|
+
"CreateRouteRequest",
|
|
61
|
+
"ListRoutesRequest",
|
|
62
|
+
"ListRoutesResponse",
|
|
63
|
+
"DeleteRouteRequest",
|
|
64
|
+
"GetRouteRequest",
|
|
65
|
+
},
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class DiscoverConnectionProfileRequest(proto.Message):
|
|
70
|
+
r"""Request message for 'discover' ConnectionProfile request.
|
|
71
|
+
|
|
72
|
+
This message has `oneof`_ fields (mutually exclusive fields).
|
|
73
|
+
For each oneof, at most one member field can be set at the same time.
|
|
74
|
+
Setting any member of the oneof automatically clears all other
|
|
75
|
+
members.
|
|
76
|
+
|
|
77
|
+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
|
|
78
|
+
|
|
79
|
+
Attributes:
|
|
80
|
+
parent (str):
|
|
81
|
+
Required. The parent resource of the connection profile
|
|
82
|
+
type. Must be in the format ``projects/*/locations/*``.
|
|
83
|
+
connection_profile (google.cloud.datastream_v1.types.ConnectionProfile):
|
|
84
|
+
An ad-hoc connection profile configuration.
|
|
85
|
+
|
|
86
|
+
This field is a member of `oneof`_ ``target``.
|
|
87
|
+
connection_profile_name (str):
|
|
88
|
+
A reference to an existing connection
|
|
89
|
+
profile.
|
|
90
|
+
|
|
91
|
+
This field is a member of `oneof`_ ``target``.
|
|
92
|
+
full_hierarchy (bool):
|
|
93
|
+
Whether to retrieve the full hierarchy of
|
|
94
|
+
data objects (TRUE) or only the current level
|
|
95
|
+
(FALSE).
|
|
96
|
+
|
|
97
|
+
This field is a member of `oneof`_ ``hierarchy``.
|
|
98
|
+
hierarchy_depth (int):
|
|
99
|
+
The number of hierarchy levels below the
|
|
100
|
+
current level to be retrieved.
|
|
101
|
+
|
|
102
|
+
This field is a member of `oneof`_ ``hierarchy``.
|
|
103
|
+
oracle_rdbms (google.cloud.datastream_v1.types.OracleRdbms):
|
|
104
|
+
Oracle RDBMS to enrich with child data
|
|
105
|
+
objects and metadata.
|
|
106
|
+
|
|
107
|
+
This field is a member of `oneof`_ ``data_object``.
|
|
108
|
+
mysql_rdbms (google.cloud.datastream_v1.types.MysqlRdbms):
|
|
109
|
+
MySQL RDBMS to enrich with child data objects
|
|
110
|
+
and metadata.
|
|
111
|
+
|
|
112
|
+
This field is a member of `oneof`_ ``data_object``.
|
|
113
|
+
postgresql_rdbms (google.cloud.datastream_v1.types.PostgresqlRdbms):
|
|
114
|
+
PostgreSQL RDBMS to enrich with child data
|
|
115
|
+
objects and metadata.
|
|
116
|
+
|
|
117
|
+
This field is a member of `oneof`_ ``data_object``.
|
|
118
|
+
sql_server_rdbms (google.cloud.datastream_v1.types.SqlServerRdbms):
|
|
119
|
+
SQLServer RDBMS to enrich with child data
|
|
120
|
+
objects and metadata.
|
|
121
|
+
|
|
122
|
+
This field is a member of `oneof`_ ``data_object``.
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
parent: str = proto.Field(
|
|
126
|
+
proto.STRING,
|
|
127
|
+
number=1,
|
|
128
|
+
)
|
|
129
|
+
connection_profile: datastream_resources.ConnectionProfile = proto.Field(
|
|
130
|
+
proto.MESSAGE,
|
|
131
|
+
number=200,
|
|
132
|
+
oneof="target",
|
|
133
|
+
message=datastream_resources.ConnectionProfile,
|
|
134
|
+
)
|
|
135
|
+
connection_profile_name: str = proto.Field(
|
|
136
|
+
proto.STRING,
|
|
137
|
+
number=201,
|
|
138
|
+
oneof="target",
|
|
139
|
+
)
|
|
140
|
+
full_hierarchy: bool = proto.Field(
|
|
141
|
+
proto.BOOL,
|
|
142
|
+
number=3,
|
|
143
|
+
oneof="hierarchy",
|
|
144
|
+
)
|
|
145
|
+
hierarchy_depth: int = proto.Field(
|
|
146
|
+
proto.INT32,
|
|
147
|
+
number=4,
|
|
148
|
+
oneof="hierarchy",
|
|
149
|
+
)
|
|
150
|
+
oracle_rdbms: datastream_resources.OracleRdbms = proto.Field(
|
|
151
|
+
proto.MESSAGE,
|
|
152
|
+
number=100,
|
|
153
|
+
oneof="data_object",
|
|
154
|
+
message=datastream_resources.OracleRdbms,
|
|
155
|
+
)
|
|
156
|
+
mysql_rdbms: datastream_resources.MysqlRdbms = proto.Field(
|
|
157
|
+
proto.MESSAGE,
|
|
158
|
+
number=101,
|
|
159
|
+
oneof="data_object",
|
|
160
|
+
message=datastream_resources.MysqlRdbms,
|
|
161
|
+
)
|
|
162
|
+
postgresql_rdbms: datastream_resources.PostgresqlRdbms = proto.Field(
|
|
163
|
+
proto.MESSAGE,
|
|
164
|
+
number=102,
|
|
165
|
+
oneof="data_object",
|
|
166
|
+
message=datastream_resources.PostgresqlRdbms,
|
|
167
|
+
)
|
|
168
|
+
sql_server_rdbms: datastream_resources.SqlServerRdbms = proto.Field(
|
|
169
|
+
proto.MESSAGE,
|
|
170
|
+
number=103,
|
|
171
|
+
oneof="data_object",
|
|
172
|
+
message=datastream_resources.SqlServerRdbms,
|
|
173
|
+
)
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
class DiscoverConnectionProfileResponse(proto.Message):
|
|
177
|
+
r"""Response from a discover request.
|
|
178
|
+
|
|
179
|
+
This message has `oneof`_ fields (mutually exclusive fields).
|
|
180
|
+
For each oneof, at most one member field can be set at the same time.
|
|
181
|
+
Setting any member of the oneof automatically clears all other
|
|
182
|
+
members.
|
|
183
|
+
|
|
184
|
+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
|
|
185
|
+
|
|
186
|
+
Attributes:
|
|
187
|
+
oracle_rdbms (google.cloud.datastream_v1.types.OracleRdbms):
|
|
188
|
+
Enriched Oracle RDBMS object.
|
|
189
|
+
|
|
190
|
+
This field is a member of `oneof`_ ``data_object``.
|
|
191
|
+
mysql_rdbms (google.cloud.datastream_v1.types.MysqlRdbms):
|
|
192
|
+
Enriched MySQL RDBMS object.
|
|
193
|
+
|
|
194
|
+
This field is a member of `oneof`_ ``data_object``.
|
|
195
|
+
postgresql_rdbms (google.cloud.datastream_v1.types.PostgresqlRdbms):
|
|
196
|
+
Enriched PostgreSQL RDBMS object.
|
|
197
|
+
|
|
198
|
+
This field is a member of `oneof`_ ``data_object``.
|
|
199
|
+
sql_server_rdbms (google.cloud.datastream_v1.types.SqlServerRdbms):
|
|
200
|
+
Enriched SQLServer RDBMS object.
|
|
201
|
+
|
|
202
|
+
This field is a member of `oneof`_ ``data_object``.
|
|
203
|
+
"""
|
|
204
|
+
|
|
205
|
+
oracle_rdbms: datastream_resources.OracleRdbms = proto.Field(
|
|
206
|
+
proto.MESSAGE,
|
|
207
|
+
number=100,
|
|
208
|
+
oneof="data_object",
|
|
209
|
+
message=datastream_resources.OracleRdbms,
|
|
210
|
+
)
|
|
211
|
+
mysql_rdbms: datastream_resources.MysqlRdbms = proto.Field(
|
|
212
|
+
proto.MESSAGE,
|
|
213
|
+
number=101,
|
|
214
|
+
oneof="data_object",
|
|
215
|
+
message=datastream_resources.MysqlRdbms,
|
|
216
|
+
)
|
|
217
|
+
postgresql_rdbms: datastream_resources.PostgresqlRdbms = proto.Field(
|
|
218
|
+
proto.MESSAGE,
|
|
219
|
+
number=102,
|
|
220
|
+
oneof="data_object",
|
|
221
|
+
message=datastream_resources.PostgresqlRdbms,
|
|
222
|
+
)
|
|
223
|
+
sql_server_rdbms: datastream_resources.SqlServerRdbms = proto.Field(
|
|
224
|
+
proto.MESSAGE,
|
|
225
|
+
number=103,
|
|
226
|
+
oneof="data_object",
|
|
227
|
+
message=datastream_resources.SqlServerRdbms,
|
|
228
|
+
)
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
class FetchStaticIpsRequest(proto.Message):
|
|
232
|
+
r"""Request message for 'FetchStaticIps' request.
|
|
233
|
+
|
|
234
|
+
Attributes:
|
|
235
|
+
name (str):
|
|
236
|
+
Required. The resource name for the location for which
|
|
237
|
+
static IPs should be returned. Must be in the format
|
|
238
|
+
``projects/*/locations/*``.
|
|
239
|
+
page_size (int):
|
|
240
|
+
Maximum number of Ips to return, will likely
|
|
241
|
+
not be specified.
|
|
242
|
+
page_token (str):
|
|
243
|
+
A page token, received from a previous ``ListStaticIps``
|
|
244
|
+
call. will likely not be specified.
|
|
245
|
+
"""
|
|
246
|
+
|
|
247
|
+
name: str = proto.Field(
|
|
248
|
+
proto.STRING,
|
|
249
|
+
number=1,
|
|
250
|
+
)
|
|
251
|
+
page_size: int = proto.Field(
|
|
252
|
+
proto.INT32,
|
|
253
|
+
number=2,
|
|
254
|
+
)
|
|
255
|
+
page_token: str = proto.Field(
|
|
256
|
+
proto.STRING,
|
|
257
|
+
number=3,
|
|
258
|
+
)
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
class FetchStaticIpsResponse(proto.Message):
|
|
262
|
+
r"""Response message for a 'FetchStaticIps' response.
|
|
263
|
+
|
|
264
|
+
Attributes:
|
|
265
|
+
static_ips (MutableSequence[str]):
|
|
266
|
+
list of static ips by account
|
|
267
|
+
next_page_token (str):
|
|
268
|
+
A token that can be sent as ``page_token`` to retrieve the
|
|
269
|
+
next page. If this field is omitted, there are no subsequent
|
|
270
|
+
pages.
|
|
271
|
+
"""
|
|
272
|
+
|
|
273
|
+
@property
|
|
274
|
+
def raw_page(self):
|
|
275
|
+
return self
|
|
276
|
+
|
|
277
|
+
static_ips: MutableSequence[str] = proto.RepeatedField(
|
|
278
|
+
proto.STRING,
|
|
279
|
+
number=1,
|
|
280
|
+
)
|
|
281
|
+
next_page_token: str = proto.Field(
|
|
282
|
+
proto.STRING,
|
|
283
|
+
number=2,
|
|
284
|
+
)
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
class ListConnectionProfilesRequest(proto.Message):
|
|
288
|
+
r"""Request message for listing connection profiles.
|
|
289
|
+
|
|
290
|
+
Attributes:
|
|
291
|
+
parent (str):
|
|
292
|
+
Required. The parent that owns the collection
|
|
293
|
+
of connection profiles.
|
|
294
|
+
page_size (int):
|
|
295
|
+
Maximum number of connection profiles to
|
|
296
|
+
return. If unspecified, at most 50 connection
|
|
297
|
+
profiles will be returned. The maximum value is
|
|
298
|
+
1000; values above 1000 will be coerced to 1000.
|
|
299
|
+
page_token (str):
|
|
300
|
+
Page token received from a previous
|
|
301
|
+
``ListConnectionProfiles`` call. Provide this to retrieve
|
|
302
|
+
the subsequent page.
|
|
303
|
+
|
|
304
|
+
When paginating, all other parameters provided to
|
|
305
|
+
``ListConnectionProfiles`` must match the call that provided
|
|
306
|
+
the page token.
|
|
307
|
+
filter (str):
|
|
308
|
+
Filter request.
|
|
309
|
+
order_by (str):
|
|
310
|
+
Order by fields for the result.
|
|
311
|
+
"""
|
|
312
|
+
|
|
313
|
+
parent: str = proto.Field(
|
|
314
|
+
proto.STRING,
|
|
315
|
+
number=1,
|
|
316
|
+
)
|
|
317
|
+
page_size: int = proto.Field(
|
|
318
|
+
proto.INT32,
|
|
319
|
+
number=2,
|
|
320
|
+
)
|
|
321
|
+
page_token: str = proto.Field(
|
|
322
|
+
proto.STRING,
|
|
323
|
+
number=3,
|
|
324
|
+
)
|
|
325
|
+
filter: str = proto.Field(
|
|
326
|
+
proto.STRING,
|
|
327
|
+
number=4,
|
|
328
|
+
)
|
|
329
|
+
order_by: str = proto.Field(
|
|
330
|
+
proto.STRING,
|
|
331
|
+
number=5,
|
|
332
|
+
)
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
class ListConnectionProfilesResponse(proto.Message):
|
|
336
|
+
r"""Response message for listing connection profiles.
|
|
337
|
+
|
|
338
|
+
Attributes:
|
|
339
|
+
connection_profiles (MutableSequence[google.cloud.datastream_v1.types.ConnectionProfile]):
|
|
340
|
+
List of connection profiles.
|
|
341
|
+
next_page_token (str):
|
|
342
|
+
A token, which can be sent as ``page_token`` to retrieve the
|
|
343
|
+
next page. If this field is omitted, there are no subsequent
|
|
344
|
+
pages.
|
|
345
|
+
unreachable (MutableSequence[str]):
|
|
346
|
+
Locations that could not be reached.
|
|
347
|
+
"""
|
|
348
|
+
|
|
349
|
+
@property
|
|
350
|
+
def raw_page(self):
|
|
351
|
+
return self
|
|
352
|
+
|
|
353
|
+
connection_profiles: MutableSequence[
|
|
354
|
+
datastream_resources.ConnectionProfile
|
|
355
|
+
] = proto.RepeatedField(
|
|
356
|
+
proto.MESSAGE,
|
|
357
|
+
number=1,
|
|
358
|
+
message=datastream_resources.ConnectionProfile,
|
|
359
|
+
)
|
|
360
|
+
next_page_token: str = proto.Field(
|
|
361
|
+
proto.STRING,
|
|
362
|
+
number=2,
|
|
363
|
+
)
|
|
364
|
+
unreachable: MutableSequence[str] = proto.RepeatedField(
|
|
365
|
+
proto.STRING,
|
|
366
|
+
number=3,
|
|
367
|
+
)
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
class GetConnectionProfileRequest(proto.Message):
|
|
371
|
+
r"""Request message for getting a connection profile.
|
|
372
|
+
|
|
373
|
+
Attributes:
|
|
374
|
+
name (str):
|
|
375
|
+
Required. The name of the connection profile
|
|
376
|
+
resource to get.
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
name: str = proto.Field(
|
|
380
|
+
proto.STRING,
|
|
381
|
+
number=1,
|
|
382
|
+
)
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
class CreateConnectionProfileRequest(proto.Message):
|
|
386
|
+
r"""Request message for creating a connection profile.
|
|
387
|
+
|
|
388
|
+
Attributes:
|
|
389
|
+
parent (str):
|
|
390
|
+
Required. The parent that owns the collection
|
|
391
|
+
of ConnectionProfiles.
|
|
392
|
+
connection_profile_id (str):
|
|
393
|
+
Required. The connection profile identifier.
|
|
394
|
+
connection_profile (google.cloud.datastream_v1.types.ConnectionProfile):
|
|
395
|
+
Required. The connection profile resource to
|
|
396
|
+
create.
|
|
397
|
+
request_id (str):
|
|
398
|
+
Optional. A request ID to identify requests.
|
|
399
|
+
Specify a unique request ID so that if you must
|
|
400
|
+
retry your request, the server will know to
|
|
401
|
+
ignore the request if it has already been
|
|
402
|
+
completed. The server will guarantee that for at
|
|
403
|
+
least 60 minutes since the first request.
|
|
404
|
+
|
|
405
|
+
For example, consider a situation where you make
|
|
406
|
+
an initial request and the request times out. If
|
|
407
|
+
you make the request again with the same request
|
|
408
|
+
ID, the server can check if original operation
|
|
409
|
+
with the same request ID was received, and if
|
|
410
|
+
so, will ignore the second request. This
|
|
411
|
+
prevents clients from accidentally creating
|
|
412
|
+
duplicate commitments.
|
|
413
|
+
|
|
414
|
+
The request ID must be a valid UUID with the
|
|
415
|
+
exception that zero UUID is not supported
|
|
416
|
+
(00000000-0000-0000-0000-000000000000).
|
|
417
|
+
validate_only (bool):
|
|
418
|
+
Optional. Only validate the connection
|
|
419
|
+
profile, but don't create any resources. The
|
|
420
|
+
default is false.
|
|
421
|
+
force (bool):
|
|
422
|
+
Optional. Create the connection profile
|
|
423
|
+
without validating it.
|
|
424
|
+
"""
|
|
425
|
+
|
|
426
|
+
parent: str = proto.Field(
|
|
427
|
+
proto.STRING,
|
|
428
|
+
number=1,
|
|
429
|
+
)
|
|
430
|
+
connection_profile_id: str = proto.Field(
|
|
431
|
+
proto.STRING,
|
|
432
|
+
number=2,
|
|
433
|
+
)
|
|
434
|
+
connection_profile: datastream_resources.ConnectionProfile = proto.Field(
|
|
435
|
+
proto.MESSAGE,
|
|
436
|
+
number=3,
|
|
437
|
+
message=datastream_resources.ConnectionProfile,
|
|
438
|
+
)
|
|
439
|
+
request_id: str = proto.Field(
|
|
440
|
+
proto.STRING,
|
|
441
|
+
number=4,
|
|
442
|
+
)
|
|
443
|
+
validate_only: bool = proto.Field(
|
|
444
|
+
proto.BOOL,
|
|
445
|
+
number=5,
|
|
446
|
+
)
|
|
447
|
+
force: bool = proto.Field(
|
|
448
|
+
proto.BOOL,
|
|
449
|
+
number=6,
|
|
450
|
+
)
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
class UpdateConnectionProfileRequest(proto.Message):
|
|
454
|
+
r"""Connection profile update message.
|
|
455
|
+
|
|
456
|
+
Attributes:
|
|
457
|
+
update_mask (google.protobuf.field_mask_pb2.FieldMask):
|
|
458
|
+
Optional. Field mask is used to specify the fields to be
|
|
459
|
+
overwritten in the ConnectionProfile resource by the update.
|
|
460
|
+
The fields specified in the update_mask are relative to the
|
|
461
|
+
resource, not the full request. A field will be overwritten
|
|
462
|
+
if it is in the mask. If the user does not provide a mask
|
|
463
|
+
then all fields will be overwritten.
|
|
464
|
+
connection_profile (google.cloud.datastream_v1.types.ConnectionProfile):
|
|
465
|
+
Required. The connection profile to update.
|
|
466
|
+
request_id (str):
|
|
467
|
+
Optional. A request ID to identify requests.
|
|
468
|
+
Specify a unique request ID so that if you must
|
|
469
|
+
retry your request, the server will know to
|
|
470
|
+
ignore the request if it has already been
|
|
471
|
+
completed. The server will guarantee that for at
|
|
472
|
+
least 60 minutes since the first request.
|
|
473
|
+
|
|
474
|
+
For example, consider a situation where you make
|
|
475
|
+
an initial request and the request times out. If
|
|
476
|
+
you make the request again with the same request
|
|
477
|
+
ID, the server can check if original operation
|
|
478
|
+
with the same request ID was received, and if
|
|
479
|
+
so, will ignore the second request. This
|
|
480
|
+
prevents clients from accidentally creating
|
|
481
|
+
duplicate commitments.
|
|
482
|
+
|
|
483
|
+
The request ID must be a valid UUID with the
|
|
484
|
+
exception that zero UUID is not supported
|
|
485
|
+
(00000000-0000-0000-0000-000000000000).
|
|
486
|
+
validate_only (bool):
|
|
487
|
+
Optional. Only validate the connection
|
|
488
|
+
profile, but don't update any resources. The
|
|
489
|
+
default is false.
|
|
490
|
+
force (bool):
|
|
491
|
+
Optional. Update the connection profile
|
|
492
|
+
without validating it.
|
|
493
|
+
"""
|
|
494
|
+
|
|
495
|
+
update_mask: field_mask_pb2.FieldMask = proto.Field(
|
|
496
|
+
proto.MESSAGE,
|
|
497
|
+
number=1,
|
|
498
|
+
message=field_mask_pb2.FieldMask,
|
|
499
|
+
)
|
|
500
|
+
connection_profile: datastream_resources.ConnectionProfile = proto.Field(
|
|
501
|
+
proto.MESSAGE,
|
|
502
|
+
number=2,
|
|
503
|
+
message=datastream_resources.ConnectionProfile,
|
|
504
|
+
)
|
|
505
|
+
request_id: str = proto.Field(
|
|
506
|
+
proto.STRING,
|
|
507
|
+
number=3,
|
|
508
|
+
)
|
|
509
|
+
validate_only: bool = proto.Field(
|
|
510
|
+
proto.BOOL,
|
|
511
|
+
number=4,
|
|
512
|
+
)
|
|
513
|
+
force: bool = proto.Field(
|
|
514
|
+
proto.BOOL,
|
|
515
|
+
number=5,
|
|
516
|
+
)
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
class DeleteConnectionProfileRequest(proto.Message):
|
|
520
|
+
r"""Request message for deleting a connection profile.
|
|
521
|
+
|
|
522
|
+
Attributes:
|
|
523
|
+
name (str):
|
|
524
|
+
Required. The name of the connection profile
|
|
525
|
+
resource to delete.
|
|
526
|
+
request_id (str):
|
|
527
|
+
Optional. A request ID to identify requests.
|
|
528
|
+
Specify a unique request ID so that if you must
|
|
529
|
+
retry your request, the server will know to
|
|
530
|
+
ignore the request if it has already been
|
|
531
|
+
completed. The server will guarantee that for at
|
|
532
|
+
least 60 minutes after the first request.
|
|
533
|
+
|
|
534
|
+
For example, consider a situation where you make
|
|
535
|
+
an initial request and the request times out. If
|
|
536
|
+
you make the request again with the same request
|
|
537
|
+
ID, the server can check if original operation
|
|
538
|
+
with the same request ID was received, and if
|
|
539
|
+
so, will ignore the second request. This
|
|
540
|
+
prevents clients from accidentally creating
|
|
541
|
+
duplicate commitments.
|
|
542
|
+
|
|
543
|
+
The request ID must be a valid UUID with the
|
|
544
|
+
exception that zero UUID is not supported
|
|
545
|
+
(00000000-0000-0000-0000-000000000000).
|
|
546
|
+
"""
|
|
547
|
+
|
|
548
|
+
name: str = proto.Field(
|
|
549
|
+
proto.STRING,
|
|
550
|
+
number=1,
|
|
551
|
+
)
|
|
552
|
+
request_id: str = proto.Field(
|
|
553
|
+
proto.STRING,
|
|
554
|
+
number=2,
|
|
555
|
+
)
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
class ListStreamsRequest(proto.Message):
|
|
559
|
+
r"""Request message for listing streams.
|
|
560
|
+
|
|
561
|
+
Attributes:
|
|
562
|
+
parent (str):
|
|
563
|
+
Required. The parent that owns the collection
|
|
564
|
+
of streams.
|
|
565
|
+
page_size (int):
|
|
566
|
+
Maximum number of streams to return.
|
|
567
|
+
If unspecified, at most 50 streams will be
|
|
568
|
+
returned. The maximum value is 1000; values
|
|
569
|
+
above 1000 will be coerced to 1000.
|
|
570
|
+
page_token (str):
|
|
571
|
+
Page token received from a previous ``ListStreams`` call.
|
|
572
|
+
Provide this to retrieve the subsequent page.
|
|
573
|
+
|
|
574
|
+
When paginating, all other parameters provided to
|
|
575
|
+
``ListStreams`` must match the call that provided the page
|
|
576
|
+
token.
|
|
577
|
+
filter (str):
|
|
578
|
+
Filter request.
|
|
579
|
+
order_by (str):
|
|
580
|
+
Order by fields for the result.
|
|
581
|
+
"""
|
|
582
|
+
|
|
583
|
+
parent: str = proto.Field(
|
|
584
|
+
proto.STRING,
|
|
585
|
+
number=1,
|
|
586
|
+
)
|
|
587
|
+
page_size: int = proto.Field(
|
|
588
|
+
proto.INT32,
|
|
589
|
+
number=2,
|
|
590
|
+
)
|
|
591
|
+
page_token: str = proto.Field(
|
|
592
|
+
proto.STRING,
|
|
593
|
+
number=3,
|
|
594
|
+
)
|
|
595
|
+
filter: str = proto.Field(
|
|
596
|
+
proto.STRING,
|
|
597
|
+
number=4,
|
|
598
|
+
)
|
|
599
|
+
order_by: str = proto.Field(
|
|
600
|
+
proto.STRING,
|
|
601
|
+
number=5,
|
|
602
|
+
)
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
class ListStreamsResponse(proto.Message):
|
|
606
|
+
r"""Response message for listing streams.
|
|
607
|
+
|
|
608
|
+
Attributes:
|
|
609
|
+
streams (MutableSequence[google.cloud.datastream_v1.types.Stream]):
|
|
610
|
+
List of streams
|
|
611
|
+
next_page_token (str):
|
|
612
|
+
A token, which can be sent as ``page_token`` to retrieve the
|
|
613
|
+
next page. If this field is omitted, there are no subsequent
|
|
614
|
+
pages.
|
|
615
|
+
unreachable (MutableSequence[str]):
|
|
616
|
+
Locations that could not be reached.
|
|
617
|
+
"""
|
|
618
|
+
|
|
619
|
+
@property
|
|
620
|
+
def raw_page(self):
|
|
621
|
+
return self
|
|
622
|
+
|
|
623
|
+
streams: MutableSequence[datastream_resources.Stream] = proto.RepeatedField(
|
|
624
|
+
proto.MESSAGE,
|
|
625
|
+
number=1,
|
|
626
|
+
message=datastream_resources.Stream,
|
|
627
|
+
)
|
|
628
|
+
next_page_token: str = proto.Field(
|
|
629
|
+
proto.STRING,
|
|
630
|
+
number=2,
|
|
631
|
+
)
|
|
632
|
+
unreachable: MutableSequence[str] = proto.RepeatedField(
|
|
633
|
+
proto.STRING,
|
|
634
|
+
number=3,
|
|
635
|
+
)
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
class GetStreamRequest(proto.Message):
|
|
639
|
+
r"""Request message for getting a stream.
|
|
640
|
+
|
|
641
|
+
Attributes:
|
|
642
|
+
name (str):
|
|
643
|
+
Required. The name of the stream resource to
|
|
644
|
+
get.
|
|
645
|
+
"""
|
|
646
|
+
|
|
647
|
+
name: str = proto.Field(
|
|
648
|
+
proto.STRING,
|
|
649
|
+
number=1,
|
|
650
|
+
)
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
class CreateStreamRequest(proto.Message):
|
|
654
|
+
r"""Request message for creating a stream.
|
|
655
|
+
|
|
656
|
+
Attributes:
|
|
657
|
+
parent (str):
|
|
658
|
+
Required. The parent that owns the collection
|
|
659
|
+
of streams.
|
|
660
|
+
stream_id (str):
|
|
661
|
+
Required. The stream identifier.
|
|
662
|
+
stream (google.cloud.datastream_v1.types.Stream):
|
|
663
|
+
Required. The stream resource to create.
|
|
664
|
+
request_id (str):
|
|
665
|
+
Optional. A request ID to identify requests.
|
|
666
|
+
Specify a unique request ID so that if you must
|
|
667
|
+
retry your request, the server will know to
|
|
668
|
+
ignore the request if it has already been
|
|
669
|
+
completed. The server will guarantee that for at
|
|
670
|
+
least 60 minutes since the first request.
|
|
671
|
+
|
|
672
|
+
For example, consider a situation where you make
|
|
673
|
+
an initial request and the request times out. If
|
|
674
|
+
you make the request again with the same request
|
|
675
|
+
ID, the server can check if original operation
|
|
676
|
+
with the same request ID was received, and if
|
|
677
|
+
so, will ignore the second request. This
|
|
678
|
+
prevents clients from accidentally creating
|
|
679
|
+
duplicate commitments.
|
|
680
|
+
|
|
681
|
+
The request ID must be a valid UUID with the
|
|
682
|
+
exception that zero UUID is not supported
|
|
683
|
+
(00000000-0000-0000-0000-000000000000).
|
|
684
|
+
validate_only (bool):
|
|
685
|
+
Optional. Only validate the stream, but don't
|
|
686
|
+
create any resources. The default is false.
|
|
687
|
+
force (bool):
|
|
688
|
+
Optional. Create the stream without
|
|
689
|
+
validating it.
|
|
690
|
+
"""
|
|
691
|
+
|
|
692
|
+
parent: str = proto.Field(
|
|
693
|
+
proto.STRING,
|
|
694
|
+
number=1,
|
|
695
|
+
)
|
|
696
|
+
stream_id: str = proto.Field(
|
|
697
|
+
proto.STRING,
|
|
698
|
+
number=2,
|
|
699
|
+
)
|
|
700
|
+
stream: datastream_resources.Stream = proto.Field(
|
|
701
|
+
proto.MESSAGE,
|
|
702
|
+
number=3,
|
|
703
|
+
message=datastream_resources.Stream,
|
|
704
|
+
)
|
|
705
|
+
request_id: str = proto.Field(
|
|
706
|
+
proto.STRING,
|
|
707
|
+
number=4,
|
|
708
|
+
)
|
|
709
|
+
validate_only: bool = proto.Field(
|
|
710
|
+
proto.BOOL,
|
|
711
|
+
number=5,
|
|
712
|
+
)
|
|
713
|
+
force: bool = proto.Field(
|
|
714
|
+
proto.BOOL,
|
|
715
|
+
number=6,
|
|
716
|
+
)
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
class UpdateStreamRequest(proto.Message):
|
|
720
|
+
r"""Request message for updating a stream.
|
|
721
|
+
|
|
722
|
+
Attributes:
|
|
723
|
+
update_mask (google.protobuf.field_mask_pb2.FieldMask):
|
|
724
|
+
Optional. Field mask is used to specify the fields to be
|
|
725
|
+
overwritten in the stream resource by the update. The fields
|
|
726
|
+
specified in the update_mask are relative to the resource,
|
|
727
|
+
not the full request. A field will be overwritten if it is
|
|
728
|
+
in the mask. If the user does not provide a mask then all
|
|
729
|
+
fields will be overwritten.
|
|
730
|
+
stream (google.cloud.datastream_v1.types.Stream):
|
|
731
|
+
Required. The stream resource to update.
|
|
732
|
+
request_id (str):
|
|
733
|
+
Optional. A request ID to identify requests.
|
|
734
|
+
Specify a unique request ID so that if you must
|
|
735
|
+
retry your request, the server will know to
|
|
736
|
+
ignore the request if it has already been
|
|
737
|
+
completed. The server will guarantee that for at
|
|
738
|
+
least 60 minutes since the first request.
|
|
739
|
+
|
|
740
|
+
For example, consider a situation where you make
|
|
741
|
+
an initial request and the request times out. If
|
|
742
|
+
you make the request again with the same request
|
|
743
|
+
ID, the server can check if original operation
|
|
744
|
+
with the same request ID was received, and if
|
|
745
|
+
so, will ignore the second request. This
|
|
746
|
+
prevents clients from accidentally creating
|
|
747
|
+
duplicate commitments.
|
|
748
|
+
|
|
749
|
+
The request ID must be a valid UUID with the
|
|
750
|
+
exception that zero UUID is not supported
|
|
751
|
+
(00000000-0000-0000-0000-000000000000).
|
|
752
|
+
validate_only (bool):
|
|
753
|
+
Optional. Only validate the stream with the
|
|
754
|
+
changes, without actually updating it. The
|
|
755
|
+
default is false.
|
|
756
|
+
force (bool):
|
|
757
|
+
Optional. Update the stream without
|
|
758
|
+
validating it.
|
|
759
|
+
"""
|
|
760
|
+
|
|
761
|
+
update_mask: field_mask_pb2.FieldMask = proto.Field(
|
|
762
|
+
proto.MESSAGE,
|
|
763
|
+
number=1,
|
|
764
|
+
message=field_mask_pb2.FieldMask,
|
|
765
|
+
)
|
|
766
|
+
stream: datastream_resources.Stream = proto.Field(
|
|
767
|
+
proto.MESSAGE,
|
|
768
|
+
number=2,
|
|
769
|
+
message=datastream_resources.Stream,
|
|
770
|
+
)
|
|
771
|
+
request_id: str = proto.Field(
|
|
772
|
+
proto.STRING,
|
|
773
|
+
number=3,
|
|
774
|
+
)
|
|
775
|
+
validate_only: bool = proto.Field(
|
|
776
|
+
proto.BOOL,
|
|
777
|
+
number=4,
|
|
778
|
+
)
|
|
779
|
+
force: bool = proto.Field(
|
|
780
|
+
proto.BOOL,
|
|
781
|
+
number=5,
|
|
782
|
+
)
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
class DeleteStreamRequest(proto.Message):
|
|
786
|
+
r"""Request message for deleting a stream.
|
|
787
|
+
|
|
788
|
+
Attributes:
|
|
789
|
+
name (str):
|
|
790
|
+
Required. The name of the stream resource to
|
|
791
|
+
delete.
|
|
792
|
+
request_id (str):
|
|
793
|
+
Optional. A request ID to identify requests.
|
|
794
|
+
Specify a unique request ID so that if you must
|
|
795
|
+
retry your request, the server will know to
|
|
796
|
+
ignore the request if it has already been
|
|
797
|
+
completed. The server will guarantee that for at
|
|
798
|
+
least 60 minutes after the first request.
|
|
799
|
+
|
|
800
|
+
For example, consider a situation where you make
|
|
801
|
+
an initial request and the request times out. If
|
|
802
|
+
you make the request again with the same request
|
|
803
|
+
ID, the server can check if original operation
|
|
804
|
+
with the same request ID was received, and if
|
|
805
|
+
so, will ignore the second request. This
|
|
806
|
+
prevents clients from accidentally creating
|
|
807
|
+
duplicate commitments.
|
|
808
|
+
|
|
809
|
+
The request ID must be a valid UUID with the
|
|
810
|
+
exception that zero UUID is not supported
|
|
811
|
+
(00000000-0000-0000-0000-000000000000).
|
|
812
|
+
"""
|
|
813
|
+
|
|
814
|
+
name: str = proto.Field(
|
|
815
|
+
proto.STRING,
|
|
816
|
+
number=1,
|
|
817
|
+
)
|
|
818
|
+
request_id: str = proto.Field(
|
|
819
|
+
proto.STRING,
|
|
820
|
+
number=2,
|
|
821
|
+
)
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
class RunStreamRequest(proto.Message):
|
|
825
|
+
r"""Request message for running a stream.
|
|
826
|
+
|
|
827
|
+
Attributes:
|
|
828
|
+
name (str):
|
|
829
|
+
Required. Name of the stream resource to start, in the
|
|
830
|
+
format:
|
|
831
|
+
projects/{project_id}/locations/{location}/streams/{stream_name}
|
|
832
|
+
cdc_strategy (google.cloud.datastream_v1.types.CdcStrategy):
|
|
833
|
+
Optional. The CDC strategy of the stream. If
|
|
834
|
+
not set, the system's default value will be
|
|
835
|
+
used.
|
|
836
|
+
force (bool):
|
|
837
|
+
Optional. Update the stream without
|
|
838
|
+
validating it.
|
|
839
|
+
"""
|
|
840
|
+
|
|
841
|
+
name: str = proto.Field(
|
|
842
|
+
proto.STRING,
|
|
843
|
+
number=1,
|
|
844
|
+
)
|
|
845
|
+
cdc_strategy: datastream_resources.CdcStrategy = proto.Field(
|
|
846
|
+
proto.MESSAGE,
|
|
847
|
+
number=2,
|
|
848
|
+
message=datastream_resources.CdcStrategy,
|
|
849
|
+
)
|
|
850
|
+
force: bool = proto.Field(
|
|
851
|
+
proto.BOOL,
|
|
852
|
+
number=3,
|
|
853
|
+
)
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
class GetStreamObjectRequest(proto.Message):
|
|
857
|
+
r"""Request for fetching a specific stream object.
|
|
858
|
+
|
|
859
|
+
Attributes:
|
|
860
|
+
name (str):
|
|
861
|
+
Required. The name of the stream object
|
|
862
|
+
resource to get.
|
|
863
|
+
"""
|
|
864
|
+
|
|
865
|
+
name: str = proto.Field(
|
|
866
|
+
proto.STRING,
|
|
867
|
+
number=1,
|
|
868
|
+
)
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
class LookupStreamObjectRequest(proto.Message):
|
|
872
|
+
r"""Request for looking up a specific stream object by its source
|
|
873
|
+
object identifier.
|
|
874
|
+
|
|
875
|
+
Attributes:
|
|
876
|
+
parent (str):
|
|
877
|
+
Required. The parent stream that owns the
|
|
878
|
+
collection of objects.
|
|
879
|
+
source_object_identifier (google.cloud.datastream_v1.types.SourceObjectIdentifier):
|
|
880
|
+
Required. The source object identifier which
|
|
881
|
+
maps to the stream object.
|
|
882
|
+
"""
|
|
883
|
+
|
|
884
|
+
parent: str = proto.Field(
|
|
885
|
+
proto.STRING,
|
|
886
|
+
number=1,
|
|
887
|
+
)
|
|
888
|
+
source_object_identifier: datastream_resources.SourceObjectIdentifier = proto.Field(
|
|
889
|
+
proto.MESSAGE,
|
|
890
|
+
number=2,
|
|
891
|
+
message=datastream_resources.SourceObjectIdentifier,
|
|
892
|
+
)
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
class StartBackfillJobRequest(proto.Message):
|
|
896
|
+
r"""Request for manually initiating a backfill job for a specific
|
|
897
|
+
stream object.
|
|
898
|
+
|
|
899
|
+
Attributes:
|
|
900
|
+
object_ (str):
|
|
901
|
+
Required. The name of the stream object
|
|
902
|
+
resource to start a backfill job for.
|
|
903
|
+
"""
|
|
904
|
+
|
|
905
|
+
object_: str = proto.Field(
|
|
906
|
+
proto.STRING,
|
|
907
|
+
number=1,
|
|
908
|
+
)
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
class StartBackfillJobResponse(proto.Message):
|
|
912
|
+
r"""Response for manually initiating a backfill job for a
|
|
913
|
+
specific stream object.
|
|
914
|
+
|
|
915
|
+
Attributes:
|
|
916
|
+
object_ (google.cloud.datastream_v1.types.StreamObject):
|
|
917
|
+
The stream object resource a backfill job was
|
|
918
|
+
started for.
|
|
919
|
+
"""
|
|
920
|
+
|
|
921
|
+
object_: datastream_resources.StreamObject = proto.Field(
|
|
922
|
+
proto.MESSAGE,
|
|
923
|
+
number=1,
|
|
924
|
+
message=datastream_resources.StreamObject,
|
|
925
|
+
)
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
class StopBackfillJobRequest(proto.Message):
|
|
929
|
+
r"""Request for manually stopping a running backfill job for a
|
|
930
|
+
specific stream object.
|
|
931
|
+
|
|
932
|
+
Attributes:
|
|
933
|
+
object_ (str):
|
|
934
|
+
Required. The name of the stream object
|
|
935
|
+
resource to stop the backfill job for.
|
|
936
|
+
"""
|
|
937
|
+
|
|
938
|
+
object_: str = proto.Field(
|
|
939
|
+
proto.STRING,
|
|
940
|
+
number=1,
|
|
941
|
+
)
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
class StopBackfillJobResponse(proto.Message):
|
|
945
|
+
r"""Response for manually stop a backfill job for a specific
|
|
946
|
+
stream object.
|
|
947
|
+
|
|
948
|
+
Attributes:
|
|
949
|
+
object_ (google.cloud.datastream_v1.types.StreamObject):
|
|
950
|
+
The stream object resource the backfill job
|
|
951
|
+
was stopped for.
|
|
952
|
+
"""
|
|
953
|
+
|
|
954
|
+
object_: datastream_resources.StreamObject = proto.Field(
|
|
955
|
+
proto.MESSAGE,
|
|
956
|
+
number=1,
|
|
957
|
+
message=datastream_resources.StreamObject,
|
|
958
|
+
)
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
class ListStreamObjectsRequest(proto.Message):
|
|
962
|
+
r"""Request for listing all objects for a specific stream.
|
|
963
|
+
|
|
964
|
+
Attributes:
|
|
965
|
+
parent (str):
|
|
966
|
+
Required. The parent stream that owns the
|
|
967
|
+
collection of objects.
|
|
968
|
+
page_size (int):
|
|
969
|
+
Maximum number of objects to return. Default
|
|
970
|
+
is 50. The maximum value is 1000; values above
|
|
971
|
+
1000 will be coerced to 1000.
|
|
972
|
+
page_token (str):
|
|
973
|
+
Page token received from a previous
|
|
974
|
+
``ListStreamObjectsRequest`` call. Provide this to retrieve
|
|
975
|
+
the subsequent page.
|
|
976
|
+
|
|
977
|
+
When paginating, all other parameters provided to
|
|
978
|
+
``ListStreamObjectsRequest`` must match the call that
|
|
979
|
+
provided the page token.
|
|
980
|
+
"""
|
|
981
|
+
|
|
982
|
+
parent: str = proto.Field(
|
|
983
|
+
proto.STRING,
|
|
984
|
+
number=1,
|
|
985
|
+
)
|
|
986
|
+
page_size: int = proto.Field(
|
|
987
|
+
proto.INT32,
|
|
988
|
+
number=2,
|
|
989
|
+
)
|
|
990
|
+
page_token: str = proto.Field(
|
|
991
|
+
proto.STRING,
|
|
992
|
+
number=3,
|
|
993
|
+
)
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
class ListStreamObjectsResponse(proto.Message):
|
|
997
|
+
r"""Response containing the objects for a stream.
|
|
998
|
+
|
|
999
|
+
Attributes:
|
|
1000
|
+
stream_objects (MutableSequence[google.cloud.datastream_v1.types.StreamObject]):
|
|
1001
|
+
List of stream objects.
|
|
1002
|
+
next_page_token (str):
|
|
1003
|
+
A token, which can be sent as ``page_token`` to retrieve the
|
|
1004
|
+
next page.
|
|
1005
|
+
"""
|
|
1006
|
+
|
|
1007
|
+
@property
|
|
1008
|
+
def raw_page(self):
|
|
1009
|
+
return self
|
|
1010
|
+
|
|
1011
|
+
stream_objects: MutableSequence[
|
|
1012
|
+
datastream_resources.StreamObject
|
|
1013
|
+
] = proto.RepeatedField(
|
|
1014
|
+
proto.MESSAGE,
|
|
1015
|
+
number=1,
|
|
1016
|
+
message=datastream_resources.StreamObject,
|
|
1017
|
+
)
|
|
1018
|
+
next_page_token: str = proto.Field(
|
|
1019
|
+
proto.STRING,
|
|
1020
|
+
number=2,
|
|
1021
|
+
)
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
class OperationMetadata(proto.Message):
|
|
1025
|
+
r"""Represents the metadata of the long-running operation.
|
|
1026
|
+
|
|
1027
|
+
Attributes:
|
|
1028
|
+
create_time (google.protobuf.timestamp_pb2.Timestamp):
|
|
1029
|
+
Output only. The time the operation was
|
|
1030
|
+
created.
|
|
1031
|
+
end_time (google.protobuf.timestamp_pb2.Timestamp):
|
|
1032
|
+
Output only. The time the operation finished
|
|
1033
|
+
running.
|
|
1034
|
+
target (str):
|
|
1035
|
+
Output only. Server-defined resource path for
|
|
1036
|
+
the target of the operation.
|
|
1037
|
+
verb (str):
|
|
1038
|
+
Output only. Name of the verb executed by the
|
|
1039
|
+
operation.
|
|
1040
|
+
status_message (str):
|
|
1041
|
+
Output only. Human-readable status of the
|
|
1042
|
+
operation, if any.
|
|
1043
|
+
requested_cancellation (bool):
|
|
1044
|
+
Output only. Identifies whether the user has requested
|
|
1045
|
+
cancellation of the operation. Operations that have
|
|
1046
|
+
successfully been cancelled have
|
|
1047
|
+
[google.longrunning.Operation.error][google.longrunning.Operation.error]
|
|
1048
|
+
value with a
|
|
1049
|
+
[google.rpc.Status.code][google.rpc.Status.code] of 1,
|
|
1050
|
+
corresponding to ``Code.CANCELLED``.
|
|
1051
|
+
api_version (str):
|
|
1052
|
+
Output only. API version used to start the
|
|
1053
|
+
operation.
|
|
1054
|
+
validation_result (google.cloud.datastream_v1.types.ValidationResult):
|
|
1055
|
+
Output only. Results of executed validations
|
|
1056
|
+
if there are any.
|
|
1057
|
+
"""
|
|
1058
|
+
|
|
1059
|
+
create_time: timestamp_pb2.Timestamp = proto.Field(
|
|
1060
|
+
proto.MESSAGE,
|
|
1061
|
+
number=1,
|
|
1062
|
+
message=timestamp_pb2.Timestamp,
|
|
1063
|
+
)
|
|
1064
|
+
end_time: timestamp_pb2.Timestamp = proto.Field(
|
|
1065
|
+
proto.MESSAGE,
|
|
1066
|
+
number=2,
|
|
1067
|
+
message=timestamp_pb2.Timestamp,
|
|
1068
|
+
)
|
|
1069
|
+
target: str = proto.Field(
|
|
1070
|
+
proto.STRING,
|
|
1071
|
+
number=3,
|
|
1072
|
+
)
|
|
1073
|
+
verb: str = proto.Field(
|
|
1074
|
+
proto.STRING,
|
|
1075
|
+
number=4,
|
|
1076
|
+
)
|
|
1077
|
+
status_message: str = proto.Field(
|
|
1078
|
+
proto.STRING,
|
|
1079
|
+
number=5,
|
|
1080
|
+
)
|
|
1081
|
+
requested_cancellation: bool = proto.Field(
|
|
1082
|
+
proto.BOOL,
|
|
1083
|
+
number=6,
|
|
1084
|
+
)
|
|
1085
|
+
api_version: str = proto.Field(
|
|
1086
|
+
proto.STRING,
|
|
1087
|
+
number=7,
|
|
1088
|
+
)
|
|
1089
|
+
validation_result: datastream_resources.ValidationResult = proto.Field(
|
|
1090
|
+
proto.MESSAGE,
|
|
1091
|
+
number=8,
|
|
1092
|
+
message=datastream_resources.ValidationResult,
|
|
1093
|
+
)
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
class CreatePrivateConnectionRequest(proto.Message):
|
|
1097
|
+
r"""Request for creating a private connection.
|
|
1098
|
+
|
|
1099
|
+
Attributes:
|
|
1100
|
+
parent (str):
|
|
1101
|
+
Required. The parent that owns the collection
|
|
1102
|
+
of PrivateConnections.
|
|
1103
|
+
private_connection_id (str):
|
|
1104
|
+
Required. The private connectivity
|
|
1105
|
+
identifier.
|
|
1106
|
+
private_connection (google.cloud.datastream_v1.types.PrivateConnection):
|
|
1107
|
+
Required. The Private Connectivity resource
|
|
1108
|
+
to create.
|
|
1109
|
+
request_id (str):
|
|
1110
|
+
Optional. A request ID to identify requests.
|
|
1111
|
+
Specify a unique request ID so that if you must
|
|
1112
|
+
retry your request, the server will know to
|
|
1113
|
+
ignore the request if it has already been
|
|
1114
|
+
completed. The server will guarantee that for at
|
|
1115
|
+
least 60 minutes since the first request.
|
|
1116
|
+
|
|
1117
|
+
For example, consider a situation where you make
|
|
1118
|
+
an initial request and the request times out. If
|
|
1119
|
+
you make the request again with the same request
|
|
1120
|
+
ID, the server can check if original operation
|
|
1121
|
+
with the same request ID was received, and if
|
|
1122
|
+
so, will ignore the second request. This
|
|
1123
|
+
prevents clients from accidentally creating
|
|
1124
|
+
duplicate commitments.
|
|
1125
|
+
|
|
1126
|
+
The request ID must be a valid UUID with the
|
|
1127
|
+
exception that zero UUID is not supported
|
|
1128
|
+
(00000000-0000-0000-0000-000000000000).
|
|
1129
|
+
force (bool):
|
|
1130
|
+
Optional. If set to true, will skip
|
|
1131
|
+
validations.
|
|
1132
|
+
"""
|
|
1133
|
+
|
|
1134
|
+
parent: str = proto.Field(
|
|
1135
|
+
proto.STRING,
|
|
1136
|
+
number=1,
|
|
1137
|
+
)
|
|
1138
|
+
private_connection_id: str = proto.Field(
|
|
1139
|
+
proto.STRING,
|
|
1140
|
+
number=2,
|
|
1141
|
+
)
|
|
1142
|
+
private_connection: datastream_resources.PrivateConnection = proto.Field(
|
|
1143
|
+
proto.MESSAGE,
|
|
1144
|
+
number=3,
|
|
1145
|
+
message=datastream_resources.PrivateConnection,
|
|
1146
|
+
)
|
|
1147
|
+
request_id: str = proto.Field(
|
|
1148
|
+
proto.STRING,
|
|
1149
|
+
number=4,
|
|
1150
|
+
)
|
|
1151
|
+
force: bool = proto.Field(
|
|
1152
|
+
proto.BOOL,
|
|
1153
|
+
number=6,
|
|
1154
|
+
)
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
class ListPrivateConnectionsRequest(proto.Message):
|
|
1158
|
+
r"""Request for listing private connections.
|
|
1159
|
+
|
|
1160
|
+
Attributes:
|
|
1161
|
+
parent (str):
|
|
1162
|
+
Required. The parent that owns the collection
|
|
1163
|
+
of private connectivity configurations.
|
|
1164
|
+
page_size (int):
|
|
1165
|
+
Maximum number of private connectivity
|
|
1166
|
+
configurations to return. If unspecified, at
|
|
1167
|
+
most 50 private connectivity configurations that
|
|
1168
|
+
will be returned. The maximum value is 1000;
|
|
1169
|
+
values above 1000 will be coerced to 1000.
|
|
1170
|
+
page_token (str):
|
|
1171
|
+
Page token received from a previous
|
|
1172
|
+
``ListPrivateConnections`` call. Provide this to retrieve
|
|
1173
|
+
the subsequent page.
|
|
1174
|
+
|
|
1175
|
+
When paginating, all other parameters provided to
|
|
1176
|
+
``ListPrivateConnections`` must match the call that provided
|
|
1177
|
+
the page token.
|
|
1178
|
+
filter (str):
|
|
1179
|
+
Filter request.
|
|
1180
|
+
order_by (str):
|
|
1181
|
+
Order by fields for the result.
|
|
1182
|
+
"""
|
|
1183
|
+
|
|
1184
|
+
parent: str = proto.Field(
|
|
1185
|
+
proto.STRING,
|
|
1186
|
+
number=1,
|
|
1187
|
+
)
|
|
1188
|
+
page_size: int = proto.Field(
|
|
1189
|
+
proto.INT32,
|
|
1190
|
+
number=2,
|
|
1191
|
+
)
|
|
1192
|
+
page_token: str = proto.Field(
|
|
1193
|
+
proto.STRING,
|
|
1194
|
+
number=3,
|
|
1195
|
+
)
|
|
1196
|
+
filter: str = proto.Field(
|
|
1197
|
+
proto.STRING,
|
|
1198
|
+
number=4,
|
|
1199
|
+
)
|
|
1200
|
+
order_by: str = proto.Field(
|
|
1201
|
+
proto.STRING,
|
|
1202
|
+
number=5,
|
|
1203
|
+
)
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
class ListPrivateConnectionsResponse(proto.Message):
|
|
1207
|
+
r"""Response containing a list of private connection
|
|
1208
|
+
configurations.
|
|
1209
|
+
|
|
1210
|
+
Attributes:
|
|
1211
|
+
private_connections (MutableSequence[google.cloud.datastream_v1.types.PrivateConnection]):
|
|
1212
|
+
List of private connectivity configurations.
|
|
1213
|
+
next_page_token (str):
|
|
1214
|
+
A token, which can be sent as ``page_token`` to retrieve the
|
|
1215
|
+
next page. If this field is omitted, there are no subsequent
|
|
1216
|
+
pages.
|
|
1217
|
+
unreachable (MutableSequence[str]):
|
|
1218
|
+
Locations that could not be reached.
|
|
1219
|
+
"""
|
|
1220
|
+
|
|
1221
|
+
@property
|
|
1222
|
+
def raw_page(self):
|
|
1223
|
+
return self
|
|
1224
|
+
|
|
1225
|
+
private_connections: MutableSequence[
|
|
1226
|
+
datastream_resources.PrivateConnection
|
|
1227
|
+
] = proto.RepeatedField(
|
|
1228
|
+
proto.MESSAGE,
|
|
1229
|
+
number=1,
|
|
1230
|
+
message=datastream_resources.PrivateConnection,
|
|
1231
|
+
)
|
|
1232
|
+
next_page_token: str = proto.Field(
|
|
1233
|
+
proto.STRING,
|
|
1234
|
+
number=2,
|
|
1235
|
+
)
|
|
1236
|
+
unreachable: MutableSequence[str] = proto.RepeatedField(
|
|
1237
|
+
proto.STRING,
|
|
1238
|
+
number=3,
|
|
1239
|
+
)
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
class DeletePrivateConnectionRequest(proto.Message):
|
|
1243
|
+
r"""Request to delete a private connection.
|
|
1244
|
+
|
|
1245
|
+
Attributes:
|
|
1246
|
+
name (str):
|
|
1247
|
+
Required. The name of the private
|
|
1248
|
+
connectivity configuration to delete.
|
|
1249
|
+
request_id (str):
|
|
1250
|
+
Optional. A request ID to identify requests.
|
|
1251
|
+
Specify a unique request ID so that if you must
|
|
1252
|
+
retry your request, the server will know to
|
|
1253
|
+
ignore the request if it has already been
|
|
1254
|
+
completed. The server will guarantee that for at
|
|
1255
|
+
least 60 minutes after the first request.
|
|
1256
|
+
|
|
1257
|
+
For example, consider a situation where you make
|
|
1258
|
+
an initial request and the request times out. If
|
|
1259
|
+
you make the request again with the same request
|
|
1260
|
+
ID, the server can check if original operation
|
|
1261
|
+
with the same request ID was received, and if
|
|
1262
|
+
so, will ignore the second request. This
|
|
1263
|
+
prevents clients from accidentally creating
|
|
1264
|
+
duplicate commitments.
|
|
1265
|
+
|
|
1266
|
+
The request ID must be a valid UUID with the
|
|
1267
|
+
exception that zero UUID is not supported
|
|
1268
|
+
(00000000-0000-0000-0000-000000000000).
|
|
1269
|
+
force (bool):
|
|
1270
|
+
Optional. If set to true, any child routes
|
|
1271
|
+
that belong to this PrivateConnection will also
|
|
1272
|
+
be deleted.
|
|
1273
|
+
"""
|
|
1274
|
+
|
|
1275
|
+
name: str = proto.Field(
|
|
1276
|
+
proto.STRING,
|
|
1277
|
+
number=1,
|
|
1278
|
+
)
|
|
1279
|
+
request_id: str = proto.Field(
|
|
1280
|
+
proto.STRING,
|
|
1281
|
+
number=2,
|
|
1282
|
+
)
|
|
1283
|
+
force: bool = proto.Field(
|
|
1284
|
+
proto.BOOL,
|
|
1285
|
+
number=3,
|
|
1286
|
+
)
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
class GetPrivateConnectionRequest(proto.Message):
|
|
1290
|
+
r"""Request to get a private connection configuration.
|
|
1291
|
+
|
|
1292
|
+
Attributes:
|
|
1293
|
+
name (str):
|
|
1294
|
+
Required. The name of the private
|
|
1295
|
+
connectivity configuration to get.
|
|
1296
|
+
"""
|
|
1297
|
+
|
|
1298
|
+
name: str = proto.Field(
|
|
1299
|
+
proto.STRING,
|
|
1300
|
+
number=1,
|
|
1301
|
+
)
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
class CreateRouteRequest(proto.Message):
|
|
1305
|
+
r"""Route creation request.
|
|
1306
|
+
|
|
1307
|
+
Attributes:
|
|
1308
|
+
parent (str):
|
|
1309
|
+
Required. The parent that owns the collection
|
|
1310
|
+
of Routes.
|
|
1311
|
+
route_id (str):
|
|
1312
|
+
Required. The Route identifier.
|
|
1313
|
+
route (google.cloud.datastream_v1.types.Route):
|
|
1314
|
+
Required. The Route resource to create.
|
|
1315
|
+
request_id (str):
|
|
1316
|
+
Optional. A request ID to identify requests.
|
|
1317
|
+
Specify a unique request ID so that if you must
|
|
1318
|
+
retry your request, the server will know to
|
|
1319
|
+
ignore the request if it has already been
|
|
1320
|
+
completed. The server will guarantee that for at
|
|
1321
|
+
least 60 minutes since the first request.
|
|
1322
|
+
|
|
1323
|
+
For example, consider a situation where you make
|
|
1324
|
+
an initial request and the request times out. If
|
|
1325
|
+
you make the request again with the same request
|
|
1326
|
+
ID, the server can check if original operation
|
|
1327
|
+
with the same request ID was received, and if
|
|
1328
|
+
so, will ignore the second request. This
|
|
1329
|
+
prevents clients from accidentally creating
|
|
1330
|
+
duplicate commitments.
|
|
1331
|
+
|
|
1332
|
+
The request ID must be a valid UUID with the
|
|
1333
|
+
exception that zero UUID is not supported
|
|
1334
|
+
(00000000-0000-0000-0000-000000000000).
|
|
1335
|
+
"""
|
|
1336
|
+
|
|
1337
|
+
parent: str = proto.Field(
|
|
1338
|
+
proto.STRING,
|
|
1339
|
+
number=1,
|
|
1340
|
+
)
|
|
1341
|
+
route_id: str = proto.Field(
|
|
1342
|
+
proto.STRING,
|
|
1343
|
+
number=2,
|
|
1344
|
+
)
|
|
1345
|
+
route: datastream_resources.Route = proto.Field(
|
|
1346
|
+
proto.MESSAGE,
|
|
1347
|
+
number=3,
|
|
1348
|
+
message=datastream_resources.Route,
|
|
1349
|
+
)
|
|
1350
|
+
request_id: str = proto.Field(
|
|
1351
|
+
proto.STRING,
|
|
1352
|
+
number=4,
|
|
1353
|
+
)
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
class ListRoutesRequest(proto.Message):
|
|
1357
|
+
r"""Route list request.
|
|
1358
|
+
|
|
1359
|
+
Attributes:
|
|
1360
|
+
parent (str):
|
|
1361
|
+
Required. The parent that owns the collection
|
|
1362
|
+
of Routess.
|
|
1363
|
+
page_size (int):
|
|
1364
|
+
Maximum number of Routes to return. The
|
|
1365
|
+
service may return fewer than this value. If
|
|
1366
|
+
unspecified, at most 50 Routes will be returned.
|
|
1367
|
+
The maximum value is 1000; values above 1000
|
|
1368
|
+
will be coerced to 1000.
|
|
1369
|
+
page_token (str):
|
|
1370
|
+
Page token received from a previous ``ListRoutes`` call.
|
|
1371
|
+
Provide this to retrieve the subsequent page.
|
|
1372
|
+
|
|
1373
|
+
When paginating, all other parameters provided to
|
|
1374
|
+
``ListRoutes`` must match the call that provided the page
|
|
1375
|
+
token.
|
|
1376
|
+
filter (str):
|
|
1377
|
+
Filter request.
|
|
1378
|
+
order_by (str):
|
|
1379
|
+
Order by fields for the result.
|
|
1380
|
+
"""
|
|
1381
|
+
|
|
1382
|
+
parent: str = proto.Field(
|
|
1383
|
+
proto.STRING,
|
|
1384
|
+
number=1,
|
|
1385
|
+
)
|
|
1386
|
+
page_size: int = proto.Field(
|
|
1387
|
+
proto.INT32,
|
|
1388
|
+
number=2,
|
|
1389
|
+
)
|
|
1390
|
+
page_token: str = proto.Field(
|
|
1391
|
+
proto.STRING,
|
|
1392
|
+
number=3,
|
|
1393
|
+
)
|
|
1394
|
+
filter: str = proto.Field(
|
|
1395
|
+
proto.STRING,
|
|
1396
|
+
number=4,
|
|
1397
|
+
)
|
|
1398
|
+
order_by: str = proto.Field(
|
|
1399
|
+
proto.STRING,
|
|
1400
|
+
number=5,
|
|
1401
|
+
)
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
class ListRoutesResponse(proto.Message):
|
|
1405
|
+
r"""Route list response.
|
|
1406
|
+
|
|
1407
|
+
Attributes:
|
|
1408
|
+
routes (MutableSequence[google.cloud.datastream_v1.types.Route]):
|
|
1409
|
+
List of Routes.
|
|
1410
|
+
next_page_token (str):
|
|
1411
|
+
A token, which can be sent as ``page_token`` to retrieve the
|
|
1412
|
+
next page. If this field is omitted, there are no subsequent
|
|
1413
|
+
pages.
|
|
1414
|
+
unreachable (MutableSequence[str]):
|
|
1415
|
+
Locations that could not be reached.
|
|
1416
|
+
"""
|
|
1417
|
+
|
|
1418
|
+
@property
|
|
1419
|
+
def raw_page(self):
|
|
1420
|
+
return self
|
|
1421
|
+
|
|
1422
|
+
routes: MutableSequence[datastream_resources.Route] = proto.RepeatedField(
|
|
1423
|
+
proto.MESSAGE,
|
|
1424
|
+
number=1,
|
|
1425
|
+
message=datastream_resources.Route,
|
|
1426
|
+
)
|
|
1427
|
+
next_page_token: str = proto.Field(
|
|
1428
|
+
proto.STRING,
|
|
1429
|
+
number=2,
|
|
1430
|
+
)
|
|
1431
|
+
unreachable: MutableSequence[str] = proto.RepeatedField(
|
|
1432
|
+
proto.STRING,
|
|
1433
|
+
number=3,
|
|
1434
|
+
)
|
|
1435
|
+
|
|
1436
|
+
|
|
1437
|
+
class DeleteRouteRequest(proto.Message):
|
|
1438
|
+
r"""Route deletion request.
|
|
1439
|
+
|
|
1440
|
+
Attributes:
|
|
1441
|
+
name (str):
|
|
1442
|
+
Required. The name of the Route resource to
|
|
1443
|
+
delete.
|
|
1444
|
+
request_id (str):
|
|
1445
|
+
Optional. A request ID to identify requests.
|
|
1446
|
+
Specify a unique request ID so that if you must
|
|
1447
|
+
retry your request, the server will know to
|
|
1448
|
+
ignore the request if it has already been
|
|
1449
|
+
completed. The server will guarantee that for at
|
|
1450
|
+
least 60 minutes after the first request.
|
|
1451
|
+
|
|
1452
|
+
For example, consider a situation where you make
|
|
1453
|
+
an initial request and the request times out. If
|
|
1454
|
+
you make the request again with the same request
|
|
1455
|
+
ID, the server can check if original operation
|
|
1456
|
+
with the same request ID was received, and if
|
|
1457
|
+
so, will ignore the second request. This
|
|
1458
|
+
prevents clients from accidentally creating
|
|
1459
|
+
duplicate commitments.
|
|
1460
|
+
|
|
1461
|
+
The request ID must be a valid UUID with the
|
|
1462
|
+
exception that zero UUID is not supported
|
|
1463
|
+
(00000000-0000-0000-0000-000000000000).
|
|
1464
|
+
"""
|
|
1465
|
+
|
|
1466
|
+
name: str = proto.Field(
|
|
1467
|
+
proto.STRING,
|
|
1468
|
+
number=1,
|
|
1469
|
+
)
|
|
1470
|
+
request_id: str = proto.Field(
|
|
1471
|
+
proto.STRING,
|
|
1472
|
+
number=2,
|
|
1473
|
+
)
|
|
1474
|
+
|
|
1475
|
+
|
|
1476
|
+
class GetRouteRequest(proto.Message):
|
|
1477
|
+
r"""Route get request.
|
|
1478
|
+
|
|
1479
|
+
Attributes:
|
|
1480
|
+
name (str):
|
|
1481
|
+
Required. The name of the Route resource to
|
|
1482
|
+
get.
|
|
1483
|
+
"""
|
|
1484
|
+
|
|
1485
|
+
name: str = proto.Field(
|
|
1486
|
+
proto.STRING,
|
|
1487
|
+
number=1,
|
|
1488
|
+
)
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
__all__ = tuple(sorted(__protobuf__.manifest))
|