google-cloud-datastream-v1 0.5.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/datastream/v1/datastream/client.rb +27 -20
- data/lib/google/cloud/datastream/v1/datastream/operations.rb +5 -3
- data/lib/google/cloud/datastream/v1/datastream/rest/client.rb +27 -20
- data/lib/google/cloud/datastream/v1/datastream/rest/operations.rb +9 -7
- data/lib/google/cloud/datastream/v1/datastream/rest/service_stub.rb +25 -25
- data/lib/google/cloud/datastream/v1/datastream_pb.rb +28 -190
- data/lib/google/cloud/datastream/v1/datastream_resources_pb.rb +26 -365
- data/lib/google/cloud/datastream/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/datastream/v1/datastream.rb +24 -17
- data/proto_docs/google/cloud/datastream/v1/datastream_resources.rb +39 -12
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/datastream/v1/datastream_resources.proto
|
3
4
|
|
@@ -8,373 +9,33 @@ require 'google/api/resource_pb'
|
|
8
9
|
require 'google/protobuf/duration_pb'
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
11
|
|
11
|
-
|
12
|
-
add_file("google/cloud/datastream/v1/datastream_resources.proto", :syntax => :proto3) do
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
end
|
35
|
-
add_message "google.cloud.datastream.v1.GcsProfile" do
|
36
|
-
optional :bucket, :string, 1
|
37
|
-
optional :root_path, :string, 2
|
38
|
-
end
|
39
|
-
add_message "google.cloud.datastream.v1.BigQueryProfile" do
|
40
|
-
end
|
41
|
-
add_message "google.cloud.datastream.v1.StaticServiceIpConnectivity" do
|
42
|
-
end
|
43
|
-
add_message "google.cloud.datastream.v1.ForwardSshTunnelConnectivity" do
|
44
|
-
optional :hostname, :string, 1
|
45
|
-
optional :username, :string, 2
|
46
|
-
optional :port, :int32, 3
|
47
|
-
oneof :authentication_method do
|
48
|
-
optional :password, :string, 100
|
49
|
-
optional :private_key, :string, 101
|
50
|
-
end
|
51
|
-
end
|
52
|
-
add_message "google.cloud.datastream.v1.VpcPeeringConfig" do
|
53
|
-
optional :vpc, :string, 1
|
54
|
-
optional :subnet, :string, 2
|
55
|
-
end
|
56
|
-
add_message "google.cloud.datastream.v1.PrivateConnection" do
|
57
|
-
optional :name, :string, 1
|
58
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
59
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
60
|
-
map :labels, :string, :string, 4
|
61
|
-
optional :display_name, :string, 5
|
62
|
-
optional :state, :enum, 6, "google.cloud.datastream.v1.PrivateConnection.State"
|
63
|
-
optional :error, :message, 7, "google.cloud.datastream.v1.Error"
|
64
|
-
optional :vpc_peering_config, :message, 100, "google.cloud.datastream.v1.VpcPeeringConfig"
|
65
|
-
end
|
66
|
-
add_enum "google.cloud.datastream.v1.PrivateConnection.State" do
|
67
|
-
value :STATE_UNSPECIFIED, 0
|
68
|
-
value :CREATING, 1
|
69
|
-
value :CREATED, 2
|
70
|
-
value :FAILED, 3
|
71
|
-
value :DELETING, 4
|
72
|
-
value :FAILED_TO_DELETE, 5
|
73
|
-
end
|
74
|
-
add_message "google.cloud.datastream.v1.PrivateConnectivity" do
|
75
|
-
optional :private_connection, :string, 1
|
76
|
-
end
|
77
|
-
add_message "google.cloud.datastream.v1.Route" do
|
78
|
-
optional :name, :string, 1
|
79
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
80
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
81
|
-
map :labels, :string, :string, 4
|
82
|
-
optional :display_name, :string, 5
|
83
|
-
optional :destination_address, :string, 6
|
84
|
-
optional :destination_port, :int32, 7
|
85
|
-
end
|
86
|
-
add_message "google.cloud.datastream.v1.MysqlSslConfig" do
|
87
|
-
optional :client_key, :string, 1
|
88
|
-
optional :client_key_set, :bool, 2
|
89
|
-
optional :client_certificate, :string, 3
|
90
|
-
optional :client_certificate_set, :bool, 4
|
91
|
-
optional :ca_certificate, :string, 5
|
92
|
-
optional :ca_certificate_set, :bool, 6
|
93
|
-
end
|
94
|
-
add_message "google.cloud.datastream.v1.ConnectionProfile" do
|
95
|
-
optional :name, :string, 1
|
96
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
97
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
98
|
-
map :labels, :string, :string, 4
|
99
|
-
optional :display_name, :string, 5
|
100
|
-
oneof :profile do
|
101
|
-
optional :oracle_profile, :message, 100, "google.cloud.datastream.v1.OracleProfile"
|
102
|
-
optional :gcs_profile, :message, 101, "google.cloud.datastream.v1.GcsProfile"
|
103
|
-
optional :mysql_profile, :message, 102, "google.cloud.datastream.v1.MysqlProfile"
|
104
|
-
optional :bigquery_profile, :message, 103, "google.cloud.datastream.v1.BigQueryProfile"
|
105
|
-
optional :postgresql_profile, :message, 104, "google.cloud.datastream.v1.PostgresqlProfile"
|
106
|
-
end
|
107
|
-
oneof :connectivity do
|
108
|
-
optional :static_service_ip_connectivity, :message, 200, "google.cloud.datastream.v1.StaticServiceIpConnectivity"
|
109
|
-
optional :forward_ssh_connectivity, :message, 201, "google.cloud.datastream.v1.ForwardSshTunnelConnectivity"
|
110
|
-
optional :private_connectivity, :message, 202, "google.cloud.datastream.v1.PrivateConnectivity"
|
111
|
-
end
|
112
|
-
end
|
113
|
-
add_message "google.cloud.datastream.v1.OracleColumn" do
|
114
|
-
optional :column, :string, 1
|
115
|
-
optional :data_type, :string, 2
|
116
|
-
optional :length, :int32, 3
|
117
|
-
optional :precision, :int32, 4
|
118
|
-
optional :scale, :int32, 5
|
119
|
-
optional :encoding, :string, 6
|
120
|
-
optional :primary_key, :bool, 7
|
121
|
-
optional :nullable, :bool, 8
|
122
|
-
optional :ordinal_position, :int32, 9
|
123
|
-
end
|
124
|
-
add_message "google.cloud.datastream.v1.OracleTable" do
|
125
|
-
optional :table, :string, 1
|
126
|
-
repeated :oracle_columns, :message, 2, "google.cloud.datastream.v1.OracleColumn"
|
127
|
-
end
|
128
|
-
add_message "google.cloud.datastream.v1.OracleSchema" do
|
129
|
-
optional :schema, :string, 1
|
130
|
-
repeated :oracle_tables, :message, 2, "google.cloud.datastream.v1.OracleTable"
|
131
|
-
end
|
132
|
-
add_message "google.cloud.datastream.v1.OracleRdbms" do
|
133
|
-
repeated :oracle_schemas, :message, 1, "google.cloud.datastream.v1.OracleSchema"
|
134
|
-
end
|
135
|
-
add_message "google.cloud.datastream.v1.OracleSourceConfig" do
|
136
|
-
optional :include_objects, :message, 1, "google.cloud.datastream.v1.OracleRdbms"
|
137
|
-
optional :exclude_objects, :message, 2, "google.cloud.datastream.v1.OracleRdbms"
|
138
|
-
optional :max_concurrent_cdc_tasks, :int32, 3
|
139
|
-
oneof :large_objects_handling do
|
140
|
-
optional :drop_large_objects, :message, 100, "google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects"
|
141
|
-
optional :stream_large_objects, :message, 102, "google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects"
|
142
|
-
end
|
143
|
-
end
|
144
|
-
add_message "google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects" do
|
145
|
-
end
|
146
|
-
add_message "google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects" do
|
147
|
-
end
|
148
|
-
add_message "google.cloud.datastream.v1.PostgresqlColumn" do
|
149
|
-
optional :column, :string, 1
|
150
|
-
optional :data_type, :string, 2
|
151
|
-
optional :length, :int32, 3
|
152
|
-
optional :precision, :int32, 4
|
153
|
-
optional :scale, :int32, 5
|
154
|
-
optional :primary_key, :bool, 7
|
155
|
-
optional :nullable, :bool, 8
|
156
|
-
optional :ordinal_position, :int32, 9
|
157
|
-
end
|
158
|
-
add_message "google.cloud.datastream.v1.PostgresqlTable" do
|
159
|
-
optional :table, :string, 1
|
160
|
-
repeated :postgresql_columns, :message, 2, "google.cloud.datastream.v1.PostgresqlColumn"
|
161
|
-
end
|
162
|
-
add_message "google.cloud.datastream.v1.PostgresqlSchema" do
|
163
|
-
optional :schema, :string, 1
|
164
|
-
repeated :postgresql_tables, :message, 2, "google.cloud.datastream.v1.PostgresqlTable"
|
165
|
-
end
|
166
|
-
add_message "google.cloud.datastream.v1.PostgresqlRdbms" do
|
167
|
-
repeated :postgresql_schemas, :message, 1, "google.cloud.datastream.v1.PostgresqlSchema"
|
168
|
-
end
|
169
|
-
add_message "google.cloud.datastream.v1.PostgresqlSourceConfig" do
|
170
|
-
optional :include_objects, :message, 1, "google.cloud.datastream.v1.PostgresqlRdbms"
|
171
|
-
optional :exclude_objects, :message, 2, "google.cloud.datastream.v1.PostgresqlRdbms"
|
172
|
-
optional :replication_slot, :string, 3
|
173
|
-
optional :publication, :string, 4
|
174
|
-
end
|
175
|
-
add_message "google.cloud.datastream.v1.MysqlColumn" do
|
176
|
-
optional :column, :string, 1
|
177
|
-
optional :data_type, :string, 2
|
178
|
-
optional :length, :int32, 3
|
179
|
-
optional :collation, :string, 4
|
180
|
-
optional :primary_key, :bool, 5
|
181
|
-
optional :nullable, :bool, 6
|
182
|
-
optional :ordinal_position, :int32, 7
|
183
|
-
end
|
184
|
-
add_message "google.cloud.datastream.v1.MysqlTable" do
|
185
|
-
optional :table, :string, 1
|
186
|
-
repeated :mysql_columns, :message, 2, "google.cloud.datastream.v1.MysqlColumn"
|
187
|
-
end
|
188
|
-
add_message "google.cloud.datastream.v1.MysqlDatabase" do
|
189
|
-
optional :database, :string, 1
|
190
|
-
repeated :mysql_tables, :message, 2, "google.cloud.datastream.v1.MysqlTable"
|
191
|
-
end
|
192
|
-
add_message "google.cloud.datastream.v1.MysqlRdbms" do
|
193
|
-
repeated :mysql_databases, :message, 1, "google.cloud.datastream.v1.MysqlDatabase"
|
194
|
-
end
|
195
|
-
add_message "google.cloud.datastream.v1.MysqlSourceConfig" do
|
196
|
-
optional :include_objects, :message, 1, "google.cloud.datastream.v1.MysqlRdbms"
|
197
|
-
optional :exclude_objects, :message, 2, "google.cloud.datastream.v1.MysqlRdbms"
|
198
|
-
optional :max_concurrent_cdc_tasks, :int32, 3
|
199
|
-
end
|
200
|
-
add_message "google.cloud.datastream.v1.SourceConfig" do
|
201
|
-
optional :source_connection_profile, :string, 1
|
202
|
-
oneof :source_stream_config do
|
203
|
-
optional :oracle_source_config, :message, 100, "google.cloud.datastream.v1.OracleSourceConfig"
|
204
|
-
optional :mysql_source_config, :message, 101, "google.cloud.datastream.v1.MysqlSourceConfig"
|
205
|
-
optional :postgresql_source_config, :message, 102, "google.cloud.datastream.v1.PostgresqlSourceConfig"
|
206
|
-
end
|
207
|
-
end
|
208
|
-
add_message "google.cloud.datastream.v1.AvroFileFormat" do
|
209
|
-
end
|
210
|
-
add_message "google.cloud.datastream.v1.JsonFileFormat" do
|
211
|
-
optional :schema_file_format, :enum, 1, "google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat"
|
212
|
-
optional :compression, :enum, 2, "google.cloud.datastream.v1.JsonFileFormat.JsonCompression"
|
213
|
-
end
|
214
|
-
add_enum "google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat" do
|
215
|
-
value :SCHEMA_FILE_FORMAT_UNSPECIFIED, 0
|
216
|
-
value :NO_SCHEMA_FILE, 1
|
217
|
-
value :AVRO_SCHEMA_FILE, 2
|
218
|
-
end
|
219
|
-
add_enum "google.cloud.datastream.v1.JsonFileFormat.JsonCompression" do
|
220
|
-
value :JSON_COMPRESSION_UNSPECIFIED, 0
|
221
|
-
value :NO_COMPRESSION, 1
|
222
|
-
value :GZIP, 2
|
223
|
-
end
|
224
|
-
add_message "google.cloud.datastream.v1.GcsDestinationConfig" do
|
225
|
-
optional :path, :string, 1
|
226
|
-
optional :file_rotation_mb, :int32, 2
|
227
|
-
optional :file_rotation_interval, :message, 3, "google.protobuf.Duration"
|
228
|
-
oneof :file_format do
|
229
|
-
optional :avro_file_format, :message, 100, "google.cloud.datastream.v1.AvroFileFormat"
|
230
|
-
optional :json_file_format, :message, 101, "google.cloud.datastream.v1.JsonFileFormat"
|
231
|
-
end
|
232
|
-
end
|
233
|
-
add_message "google.cloud.datastream.v1.BigQueryDestinationConfig" do
|
234
|
-
optional :data_freshness, :message, 300, "google.protobuf.Duration"
|
235
|
-
oneof :dataset_config do
|
236
|
-
optional :single_target_dataset, :message, 201, "google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset"
|
237
|
-
optional :source_hierarchy_datasets, :message, 202, "google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets"
|
238
|
-
end
|
239
|
-
end
|
240
|
-
add_message "google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset" do
|
241
|
-
optional :dataset_id, :string, 1
|
242
|
-
end
|
243
|
-
add_message "google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets" do
|
244
|
-
optional :dataset_template, :message, 2, "google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate"
|
245
|
-
end
|
246
|
-
add_message "google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate" do
|
247
|
-
optional :location, :string, 1
|
248
|
-
optional :dataset_id_prefix, :string, 2
|
249
|
-
optional :kms_key_name, :string, 3
|
250
|
-
end
|
251
|
-
add_message "google.cloud.datastream.v1.DestinationConfig" do
|
252
|
-
optional :destination_connection_profile, :string, 1
|
253
|
-
oneof :destination_stream_config do
|
254
|
-
optional :gcs_destination_config, :message, 100, "google.cloud.datastream.v1.GcsDestinationConfig"
|
255
|
-
optional :bigquery_destination_config, :message, 101, "google.cloud.datastream.v1.BigQueryDestinationConfig"
|
256
|
-
end
|
257
|
-
end
|
258
|
-
add_message "google.cloud.datastream.v1.Stream" do
|
259
|
-
optional :name, :string, 1
|
260
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
261
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
262
|
-
map :labels, :string, :string, 4
|
263
|
-
optional :display_name, :string, 5
|
264
|
-
optional :source_config, :message, 6, "google.cloud.datastream.v1.SourceConfig"
|
265
|
-
optional :destination_config, :message, 7, "google.cloud.datastream.v1.DestinationConfig"
|
266
|
-
optional :state, :enum, 8, "google.cloud.datastream.v1.Stream.State"
|
267
|
-
repeated :errors, :message, 9, "google.cloud.datastream.v1.Error"
|
268
|
-
proto3_optional :customer_managed_encryption_key, :string, 10
|
269
|
-
oneof :backfill_strategy do
|
270
|
-
optional :backfill_all, :message, 101, "google.cloud.datastream.v1.Stream.BackfillAllStrategy"
|
271
|
-
optional :backfill_none, :message, 102, "google.cloud.datastream.v1.Stream.BackfillNoneStrategy"
|
272
|
-
end
|
273
|
-
end
|
274
|
-
add_message "google.cloud.datastream.v1.Stream.BackfillAllStrategy" do
|
275
|
-
oneof :excluded_objects do
|
276
|
-
optional :oracle_excluded_objects, :message, 1, "google.cloud.datastream.v1.OracleRdbms"
|
277
|
-
optional :mysql_excluded_objects, :message, 2, "google.cloud.datastream.v1.MysqlRdbms"
|
278
|
-
optional :postgresql_excluded_objects, :message, 3, "google.cloud.datastream.v1.PostgresqlRdbms"
|
279
|
-
end
|
280
|
-
end
|
281
|
-
add_message "google.cloud.datastream.v1.Stream.BackfillNoneStrategy" do
|
282
|
-
end
|
283
|
-
add_enum "google.cloud.datastream.v1.Stream.State" do
|
284
|
-
value :STATE_UNSPECIFIED, 0
|
285
|
-
value :NOT_STARTED, 1
|
286
|
-
value :RUNNING, 2
|
287
|
-
value :PAUSED, 3
|
288
|
-
value :MAINTENANCE, 4
|
289
|
-
value :FAILED, 5
|
290
|
-
value :FAILED_PERMANENTLY, 6
|
291
|
-
value :STARTING, 7
|
292
|
-
value :DRAINING, 8
|
293
|
-
end
|
294
|
-
add_message "google.cloud.datastream.v1.StreamObject" do
|
295
|
-
optional :name, :string, 1
|
296
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
297
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
298
|
-
optional :display_name, :string, 5
|
299
|
-
repeated :errors, :message, 6, "google.cloud.datastream.v1.Error"
|
300
|
-
optional :backfill_job, :message, 7, "google.cloud.datastream.v1.BackfillJob"
|
301
|
-
optional :source_object, :message, 8, "google.cloud.datastream.v1.SourceObjectIdentifier"
|
302
|
-
end
|
303
|
-
add_message "google.cloud.datastream.v1.SourceObjectIdentifier" do
|
304
|
-
oneof :source_identifier do
|
305
|
-
optional :oracle_identifier, :message, 1, "google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier"
|
306
|
-
optional :mysql_identifier, :message, 2, "google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier"
|
307
|
-
optional :postgresql_identifier, :message, 3, "google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier"
|
308
|
-
end
|
309
|
-
end
|
310
|
-
add_message "google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier" do
|
311
|
-
optional :schema, :string, 1
|
312
|
-
optional :table, :string, 2
|
313
|
-
end
|
314
|
-
add_message "google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier" do
|
315
|
-
optional :schema, :string, 1
|
316
|
-
optional :table, :string, 2
|
317
|
-
end
|
318
|
-
add_message "google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier" do
|
319
|
-
optional :database, :string, 1
|
320
|
-
optional :table, :string, 2
|
321
|
-
end
|
322
|
-
add_message "google.cloud.datastream.v1.BackfillJob" do
|
323
|
-
optional :state, :enum, 1, "google.cloud.datastream.v1.BackfillJob.State"
|
324
|
-
optional :trigger, :enum, 2, "google.cloud.datastream.v1.BackfillJob.Trigger"
|
325
|
-
optional :last_start_time, :message, 3, "google.protobuf.Timestamp"
|
326
|
-
optional :last_end_time, :message, 4, "google.protobuf.Timestamp"
|
327
|
-
repeated :errors, :message, 5, "google.cloud.datastream.v1.Error"
|
328
|
-
end
|
329
|
-
add_enum "google.cloud.datastream.v1.BackfillJob.State" do
|
330
|
-
value :STATE_UNSPECIFIED, 0
|
331
|
-
value :NOT_STARTED, 1
|
332
|
-
value :PENDING, 2
|
333
|
-
value :ACTIVE, 3
|
334
|
-
value :STOPPED, 4
|
335
|
-
value :FAILED, 5
|
336
|
-
value :COMPLETED, 6
|
337
|
-
value :UNSUPPORTED, 7
|
338
|
-
end
|
339
|
-
add_enum "google.cloud.datastream.v1.BackfillJob.Trigger" do
|
340
|
-
value :TRIGGER_UNSPECIFIED, 0
|
341
|
-
value :AUTOMATIC, 1
|
342
|
-
value :MANUAL, 2
|
343
|
-
end
|
344
|
-
add_message "google.cloud.datastream.v1.Error" do
|
345
|
-
optional :reason, :string, 1
|
346
|
-
optional :error_uuid, :string, 2
|
347
|
-
optional :message, :string, 3
|
348
|
-
optional :error_time, :message, 4, "google.protobuf.Timestamp"
|
349
|
-
map :details, :string, :string, 5
|
350
|
-
end
|
351
|
-
add_message "google.cloud.datastream.v1.ValidationResult" do
|
352
|
-
repeated :validations, :message, 1, "google.cloud.datastream.v1.Validation"
|
353
|
-
end
|
354
|
-
add_message "google.cloud.datastream.v1.Validation" do
|
355
|
-
optional :description, :string, 1
|
356
|
-
optional :state, :enum, 2, "google.cloud.datastream.v1.Validation.State"
|
357
|
-
repeated :message, :message, 3, "google.cloud.datastream.v1.ValidationMessage"
|
358
|
-
optional :code, :string, 4
|
359
|
-
end
|
360
|
-
add_enum "google.cloud.datastream.v1.Validation.State" do
|
361
|
-
value :STATE_UNSPECIFIED, 0
|
362
|
-
value :NOT_EXECUTED, 1
|
363
|
-
value :FAILED, 2
|
364
|
-
value :PASSED, 3
|
365
|
-
end
|
366
|
-
add_message "google.cloud.datastream.v1.ValidationMessage" do
|
367
|
-
optional :message, :string, 1
|
368
|
-
optional :level, :enum, 2, "google.cloud.datastream.v1.ValidationMessage.Level"
|
369
|
-
map :metadata, :string, :string, 3
|
370
|
-
optional :code, :string, 4
|
371
|
-
end
|
372
|
-
add_enum "google.cloud.datastream.v1.ValidationMessage.Level" do
|
373
|
-
value :LEVEL_UNSPECIFIED, 0
|
374
|
-
value :WARNING, 1
|
375
|
-
value :ERROR, 2
|
12
|
+
|
13
|
+
descriptor_data = "\n5google/cloud/datastream/v1/datastream_resources.proto\x12\x1agoogle.cloud.datastream.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa2\x02\n\rOracleProfile\x12\x15\n\x08hostname\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04port\x18\x02 \x01(\x05\x12\x15\n\x08username\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08password\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x1d\n\x10\x64\x61tabase_service\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x62\n\x15\x63onnection_attributes\x18\x06 \x03(\x0b\x32\x43.google.cloud.datastream.v1.OracleProfile.ConnectionAttributesEntry\x1a;\n\x19\x43onnectionAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa4\x01\n\x0cMysqlProfile\x12\x15\n\x08hostname\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04port\x18\x02 \x01(\x05\x12\x15\n\x08username\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x08password\x18\x04 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x04\x12>\n\nssl_config\x18\x05 \x01(\x0b\x32*.google.cloud.datastream.v1.MysqlSslConfig\"}\n\x11PostgresqlProfile\x12\x15\n\x08hostname\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04port\x18\x02 \x01(\x05\x12\x15\n\x08username\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08password\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08\x64\x61tabase\x18\x05 \x01(\tB\x03\xe0\x41\x02\"4\n\nGcsProfile\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\troot_path\x18\x02 \x01(\t\"\x11\n\x0f\x42igQueryProfile\"\x1d\n\x1bStaticServiceIpConnectivity\"\xa8\x01\n\x1c\x46orwardSshTunnelConnectivity\x12\x15\n\x08hostname\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08username\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04port\x18\x03 \x01(\x05\x12\x17\n\x08password\x18\x64 \x01(\tB\x03\xe0\x41\x04H\x00\x12\x1a\n\x0bprivate_key\x18\x65 \x01(\tB\x03\xe0\x41\x04H\x00\x42\x17\n\x15\x61uthentication_method\"]\n\x10VpcPeeringConfig\x12\x34\n\x03vpc\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63ompute.googleapis.com/Networks\x12\x13\n\x06subnet\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xe0\x05\n\x11PrivateConnection\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12I\n\x06labels\x18\x04 \x03(\x0b\x32\x39.google.cloud.datastream.v1.PrivateConnection.LabelsEntry\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12G\n\x05state\x18\x06 \x01(\x0e\x32\x33.google.cloud.datastream.v1.PrivateConnection.StateB\x03\xe0\x41\x03\x12\x35\n\x05\x65rror\x18\x07 \x01(\x0b\x32!.google.cloud.datastream.v1.ErrorB\x03\xe0\x41\x03\x12H\n\x12vpc_peering_config\x18\x64 \x01(\x0b\x32,.google.cloud.datastream.v1.VpcPeeringConfig\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"i\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x14\n\x10\x46\x41ILED_TO_DELETE\x10\x05:\x81\x01\xea\x41~\n+datastream.googleapis.com/PrivateConnection\x12Oprojects/{project}/locations/{location}/privateConnections/{private_connection}\"f\n\x13PrivateConnectivity\x12O\n\x12private_connection\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+datastream.googleapis.com/PrivateConnection\"\xd3\x03\n\x05Route\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x06labels\x18\x04 \x03(\x0b\x32-.google.cloud.datastream.v1.Route.LabelsEntry\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x64\x65stination_address\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x10\x64\x65stination_port\x18\x07 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x85\x01\xea\x41\x81\x01\n\x1f\x64\x61tastream.googleapis.com/Route\x12^projects/{project}/locations/{location}/privateConnections/{private_connection}/routes/{route}\"\xca\x01\n\x0eMysqlSslConfig\x12\x17\n\nclient_key\x18\x01 \x01(\tB\x03\xe0\x41\x04\x12\x1b\n\x0e\x63lient_key_set\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1f\n\x12\x63lient_certificate\x18\x03 \x01(\tB\x03\xe0\x41\x04\x12#\n\x16\x63lient_certificate_set\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1b\n\x0e\x63\x61_certificate\x18\x05 \x01(\tB\x03\xe0\x41\x04\x12\x1f\n\x12\x63\x61_certificate_set\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\"\xb8\x08\n\x11\x43onnectionProfile\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12I\n\x06labels\x18\x04 \x03(\x0b\x32\x39.google.cloud.datastream.v1.ConnectionProfile.LabelsEntry\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\x0eoracle_profile\x18\x64 \x01(\x0b\x32).google.cloud.datastream.v1.OracleProfileH\x00\x12=\n\x0bgcs_profile\x18\x65 \x01(\x0b\x32&.google.cloud.datastream.v1.GcsProfileH\x00\x12\x41\n\rmysql_profile\x18\x66 \x01(\x0b\x32(.google.cloud.datastream.v1.MysqlProfileH\x00\x12G\n\x10\x62igquery_profile\x18g \x01(\x0b\x32+.google.cloud.datastream.v1.BigQueryProfileH\x00\x12K\n\x12postgresql_profile\x18h \x01(\x0b\x32-.google.cloud.datastream.v1.PostgresqlProfileH\x00\x12\x62\n\x1estatic_service_ip_connectivity\x18\xc8\x01 \x01(\x0b\x32\x37.google.cloud.datastream.v1.StaticServiceIpConnectivityH\x01\x12]\n\x18\x66orward_ssh_connectivity\x18\xc9\x01 \x01(\x0b\x32\x38.google.cloud.datastream.v1.ForwardSshTunnelConnectivityH\x01\x12P\n\x14private_connectivity\x18\xca\x01 \x01(\x0b\x32/.google.cloud.datastream.v1.PrivateConnectivityH\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x81\x01\xea\x41~\n+datastream.googleapis.com/ConnectionProfile\x12Oprojects/{project}/locations/{location}/connectionProfiles/{connection_profile}B\t\n\x07profileB\x0e\n\x0c\x63onnectivity\"\xb6\x01\n\x0cOracleColumn\x12\x0e\n\x06\x63olumn\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12\x11\n\tprecision\x18\x04 \x01(\x05\x12\r\n\x05scale\x18\x05 \x01(\x05\x12\x10\n\x08\x65ncoding\x18\x06 \x01(\t\x12\x13\n\x0bprimary_key\x18\x07 \x01(\x08\x12\x10\n\x08nullable\x18\x08 \x01(\x08\x12\x18\n\x10ordinal_position\x18\t \x01(\x05\"^\n\x0bOracleTable\x12\r\n\x05table\x18\x01 \x01(\t\x12@\n\x0eoracle_columns\x18\x02 \x03(\x0b\x32(.google.cloud.datastream.v1.OracleColumn\"^\n\x0cOracleSchema\x12\x0e\n\x06schema\x18\x01 \x01(\t\x12>\n\roracle_tables\x18\x02 \x03(\x0b\x32\'.google.cloud.datastream.v1.OracleTable\"O\n\x0bOracleRdbms\x12@\n\x0eoracle_schemas\x18\x01 \x03(\x0b\x32(.google.cloud.datastream.v1.OracleSchema\"\xe7\x03\n\x12OracleSourceConfig\x12@\n\x0finclude_objects\x18\x01 \x01(\x0b\x32\'.google.cloud.datastream.v1.OracleRdbms\x12@\n\x0f\x65xclude_objects\x18\x02 \x01(\x0b\x32\'.google.cloud.datastream.v1.OracleRdbms\x12 \n\x18max_concurrent_cdc_tasks\x18\x03 \x01(\x05\x12%\n\x1dmax_concurrent_backfill_tasks\x18\x04 \x01(\x05\x12]\n\x12\x64rop_large_objects\x18\x64 \x01(\x0b\x32?.google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjectsH\x00\x12\x61\n\x14stream_large_objects\x18\x66 \x01(\x0b\x32\x41.google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjectsH\x00\x1a\x12\n\x10\x44ropLargeObjects\x1a\x14\n\x12StreamLargeObjectsB\x18\n\x16large_objects_handling\"\xa8\x01\n\x10PostgresqlColumn\x12\x0e\n\x06\x63olumn\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12\x11\n\tprecision\x18\x04 \x01(\x05\x12\r\n\x05scale\x18\x05 \x01(\x05\x12\x13\n\x0bprimary_key\x18\x07 \x01(\x08\x12\x10\n\x08nullable\x18\x08 \x01(\x08\x12\x18\n\x10ordinal_position\x18\t \x01(\x05\"j\n\x0fPostgresqlTable\x12\r\n\x05table\x18\x01 \x01(\t\x12H\n\x12postgresql_columns\x18\x02 \x03(\x0b\x32,.google.cloud.datastream.v1.PostgresqlColumn\"j\n\x10PostgresqlSchema\x12\x0e\n\x06schema\x18\x01 \x01(\t\x12\x46\n\x11postgresql_tables\x18\x02 \x03(\x0b\x32+.google.cloud.datastream.v1.PostgresqlTable\"[\n\x0fPostgresqlRdbms\x12H\n\x12postgresql_schemas\x18\x01 \x03(\x0b\x32,.google.cloud.datastream.v1.PostgresqlSchema\"\x87\x02\n\x16PostgresqlSourceConfig\x12\x44\n\x0finclude_objects\x18\x01 \x01(\x0b\x32+.google.cloud.datastream.v1.PostgresqlRdbms\x12\x44\n\x0f\x65xclude_objects\x18\x02 \x01(\x0b\x32+.google.cloud.datastream.v1.PostgresqlRdbms\x12 \n\x10replication_slot\x18\x03 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x18\n\x0bpublication\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12%\n\x1dmax_concurrent_backfill_tasks\x18\x05 \x01(\x05\"\xb6\x01\n\x0bMysqlColumn\x12\x0e\n\x06\x63olumn\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12\x11\n\tcollation\x18\x04 \x01(\t\x12\x13\n\x0bprimary_key\x18\x05 \x01(\x08\x12\x10\n\x08nullable\x18\x06 \x01(\x08\x12\x18\n\x10ordinal_position\x18\x07 \x01(\x05\x12\x11\n\tprecision\x18\x08 \x01(\x05\x12\r\n\x05scale\x18\t \x01(\x05\"[\n\nMysqlTable\x12\r\n\x05table\x18\x01 \x01(\t\x12>\n\rmysql_columns\x18\x02 \x03(\x0b\x32\'.google.cloud.datastream.v1.MysqlColumn\"_\n\rMysqlDatabase\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12<\n\x0cmysql_tables\x18\x02 \x03(\x0b\x32&.google.cloud.datastream.v1.MysqlTable\"P\n\nMysqlRdbms\x12\x42\n\x0fmysql_databases\x18\x01 \x03(\x0b\x32).google.cloud.datastream.v1.MysqlDatabase\"\xde\x01\n\x11MysqlSourceConfig\x12?\n\x0finclude_objects\x18\x01 \x01(\x0b\x32&.google.cloud.datastream.v1.MysqlRdbms\x12?\n\x0f\x65xclude_objects\x18\x02 \x01(\x0b\x32&.google.cloud.datastream.v1.MysqlRdbms\x12 \n\x18max_concurrent_cdc_tasks\x18\x03 \x01(\x05\x12%\n\x1dmax_concurrent_backfill_tasks\x18\x04 \x01(\x05\"\xf4\x02\n\x0cSourceConfig\x12V\n\x19source_connection_profile\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+datastream.googleapis.com/ConnectionProfile\x12N\n\x14oracle_source_config\x18\x64 \x01(\x0b\x32..google.cloud.datastream.v1.OracleSourceConfigH\x00\x12L\n\x13mysql_source_config\x18\x65 \x01(\x0b\x32-.google.cloud.datastream.v1.MysqlSourceConfigH\x00\x12V\n\x18postgresql_source_config\x18\x66 \x01(\x0b\x32\x32.google.cloud.datastream.v1.PostgresqlSourceConfigH\x00\x42\x16\n\x14source_stream_config\"\x10\n\x0e\x41vroFileFormat\"\xef\x02\n\x0eJsonFileFormat\x12W\n\x12schema_file_format\x18\x01 \x01(\x0e\x32;.google.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat\x12O\n\x0b\x63ompression\x18\x02 \x01(\x0e\x32:.google.cloud.datastream.v1.JsonFileFormat.JsonCompression\"`\n\x10SchemaFileFormat\x12\"\n\x1eSCHEMA_FILE_FORMAT_UNSPECIFIED\x10\x00\x12\x12\n\x0eNO_SCHEMA_FILE\x10\x01\x12\x14\n\x10\x41VRO_SCHEMA_FILE\x10\x02\"Q\n\x0fJsonCompression\x12 \n\x1cJSON_COMPRESSION_UNSPECIFIED\x10\x00\x12\x12\n\x0eNO_COMPRESSION\x10\x01\x12\x08\n\x04GZIP\x10\x02\"\x98\x02\n\x14GcsDestinationConfig\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x18\n\x10\x66ile_rotation_mb\x18\x02 \x01(\x05\x12\x39\n\x16\x66ile_rotation_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x46\n\x10\x61vro_file_format\x18\x64 \x01(\x0b\x32*.google.cloud.datastream.v1.AvroFileFormatH\x00\x12\x46\n\x10json_file_format\x18\x65 \x01(\x0b\x32*.google.cloud.datastream.v1.JsonFileFormatH\x00\x42\r\n\x0b\x66ile_format\"\xde\x04\n\x19\x42igQueryDestinationConfig\x12k\n\x15single_target_dataset\x18\xc9\x01 \x01(\x0b\x32I.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDatasetH\x00\x12s\n\x19source_hierarchy_datasets\x18\xca\x01 \x01(\x0b\x32M.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasetsH\x00\x12\x32\n\x0e\x64\x61ta_freshness\x18\xac\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a)\n\x13SingleTargetDataset\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x1a\xed\x01\n\x17SourceHierarchyDatasets\x12w\n\x10\x64\x61taset_template\x18\x02 \x01(\x0b\x32].google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate\x1aY\n\x0f\x44\x61tasetTemplate\x12\x15\n\x08location\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x11\x64\x61taset_id_prefix\x18\x02 \x01(\t\x12\x14\n\x0ckms_key_name\x18\x03 \x01(\tB\x10\n\x0e\x64\x61taset_config\"\xbf\x02\n\x11\x44\x65stinationConfig\x12[\n\x1e\x64\x65stination_connection_profile\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+datastream.googleapis.com/ConnectionProfile\x12R\n\x16gcs_destination_config\x18\x64 \x01(\x0b\x32\x30.google.cloud.datastream.v1.GcsDestinationConfigH\x00\x12\\\n\x1b\x62igquery_destination_config\x18\x65 \x01(\x0b\x32\x35.google.cloud.datastream.v1.BigQueryDestinationConfigH\x00\x42\x1b\n\x19\x64\x65stination_stream_config\"\xd1\n\n\x06Stream\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12>\n\x06labels\x18\x04 \x03(\x0b\x32..google.cloud.datastream.v1.Stream.LabelsEntry\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\rsource_config\x18\x06 \x01(\x0b\x32(.google.cloud.datastream.v1.SourceConfigB\x03\xe0\x41\x02\x12N\n\x12\x64\x65stination_config\x18\x07 \x01(\x0b\x32-.google.cloud.datastream.v1.DestinationConfigB\x03\xe0\x41\x02\x12\x37\n\x05state\x18\x08 \x01(\x0e\x32(.google.cloud.datastream.v1.Stream.State\x12N\n\x0c\x62\x61\x63kfill_all\x18\x65 \x01(\x0b\x32\x36.google.cloud.datastream.v1.Stream.BackfillAllStrategyH\x00\x12P\n\rbackfill_none\x18\x66 \x01(\x0b\x32\x37.google.cloud.datastream.v1.Stream.BackfillNoneStrategyH\x00\x12\x36\n\x06\x65rrors\x18\t \x03(\x0b\x32!.google.cloud.datastream.v1.ErrorB\x03\xe0\x41\x03\x12\x31\n\x1f\x63ustomer_managed_encryption_key\x18\n \x01(\tB\x03\xe0\x41\x05H\x01\x88\x01\x01\x1a\x93\x02\n\x13\x42\x61\x63kfillAllStrategy\x12J\n\x17oracle_excluded_objects\x18\x01 \x01(\x0b\x32\'.google.cloud.datastream.v1.OracleRdbmsH\x00\x12H\n\x16mysql_excluded_objects\x18\x02 \x01(\x0b\x32&.google.cloud.datastream.v1.MysqlRdbmsH\x00\x12R\n\x1bpostgresql_excluded_objects\x18\x03 \x01(\x0b\x32+.google.cloud.datastream.v1.PostgresqlRdbmsH\x00\x42\x12\n\x10\x65xcluded_objects\x1a\x16\n\x14\x42\x61\x63kfillNoneStrategy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x99\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNOT_STARTED\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\n\n\x06PAUSED\x10\x03\x12\x0f\n\x0bMAINTENANCE\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x16\n\x12\x46\x41ILED_PERMANENTLY\x10\x06\x12\x0c\n\x08STARTING\x10\x07\x12\x0c\n\x08\x44RAINING\x10\x08:_\xea\x41\\\n datastream.googleapis.com/Stream\x12\x38projects/{project}/locations/{location}/streams/{stream}B\x13\n\x11\x62\x61\x63kfill_strategyB\"\n _customer_managed_encryption_key\"\xe2\x03\n\x0cStreamObject\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x06\x65rrors\x18\x06 \x03(\x0b\x32!.google.cloud.datastream.v1.ErrorB\x03\xe0\x41\x03\x12=\n\x0c\x62\x61\x63kfill_job\x18\x07 \x01(\x0b\x32\'.google.cloud.datastream.v1.BackfillJob\x12I\n\rsource_object\x18\x08 \x01(\x0b\x32\x32.google.cloud.datastream.v1.SourceObjectIdentifier:v\xea\x41s\n&datastream.googleapis.com/StreamObject\x12Iprojects/{project}/locations/{location}/streams/{stream}/objects/{object}\"\xb9\x04\n\x16SourceObjectIdentifier\x12\x66\n\x11oracle_identifier\x18\x01 \x01(\x0b\x32I.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifierH\x00\x12\x64\n\x10mysql_identifier\x18\x02 \x01(\x0b\x32H.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifierH\x00\x12n\n\x15postgresql_identifier\x18\x03 \x01(\x0b\x32M.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifierH\x00\x1a\x41\n\x16OracleObjectIdentifier\x12\x13\n\x06schema\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05table\x18\x02 \x01(\tB\x03\xe0\x41\x02\x1a\x45\n\x1aPostgresqlObjectIdentifier\x12\x13\n\x06schema\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05table\x18\x02 \x01(\tB\x03\xe0\x41\x02\x1a\x42\n\x15MysqlObjectIdentifier\x12\x15\n\x08\x64\x61tabase\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05table\x18\x02 \x01(\tB\x03\xe0\x41\x02\x42\x13\n\x11source_identifier\"\xfa\x03\n\x0b\x42\x61\x63kfillJob\x12<\n\x05state\x18\x01 \x01(\x0e\x32-.google.cloud.datastream.v1.BackfillJob.State\x12@\n\x07trigger\x18\x02 \x01(\x0e\x32/.google.cloud.datastream.v1.BackfillJob.Trigger\x12\x38\n\x0flast_start_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\rlast_end_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\x06\x65rrors\x18\x05 \x03(\x0b\x32!.google.cloud.datastream.v1.ErrorB\x03\xe0\x41\x03\"\x81\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNOT_STARTED\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0b\n\x07STOPPED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\r\n\tCOMPLETED\x10\x06\x12\x0f\n\x0bUNSUPPORTED\x10\x07\"=\n\x07Trigger\x12\x17\n\x13TRIGGER_UNSPECIFIED\x10\x00\x12\r\n\tAUTOMATIC\x10\x01\x12\n\n\x06MANUAL\x10\x02\"\xdd\x01\n\x05\x45rror\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x12\n\nerror_uuid\x18\x02 \x01(\t\x12\x0f\n\x07message\x18\x03 \x01(\t\x12.\n\nerror_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\x07\x64\x65tails\x18\x05 \x03(\x0b\x32..google.cloud.datastream.v1.Error.DetailsEntry\x1a.\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"O\n\x10ValidationResult\x12;\n\x0bvalidations\x18\x01 \x03(\x0b\x32&.google.cloud.datastream.v1.Validation\"\xf6\x01\n\nValidation\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12;\n\x05state\x18\x02 \x01(\x0e\x32,.google.cloud.datastream.v1.Validation.State\x12>\n\x07message\x18\x03 \x03(\x0b\x32-.google.cloud.datastream.v1.ValidationMessage\x12\x0c\n\x04\x63ode\x18\x04 \x01(\t\"H\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cNOT_EXECUTED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\n\n\x06PASSED\x10\x03\"\xae\x02\n\x11ValidationMessage\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x42\n\x05level\x18\x02 \x01(\x0e\x32\x33.google.cloud.datastream.v1.ValidationMessage.Level\x12M\n\x08metadata\x18\x03 \x03(\x0b\x32;.google.cloud.datastream.v1.ValidationMessage.MetadataEntry\x12\x0c\n\x04\x63ode\x18\x04 \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"6\n\x05Level\x12\x15\n\x11LEVEL_UNSPECIFIED\x10\x00\x12\x0b\n\x07WARNING\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x42\xa8\x02\n\x1e\x63om.google.cloud.datastream.v1B\x18\x44\x61tastreamResourcesProtoP\x01Z>cloud.google.com/go/datastream/apiv1/datastreampb;datastreampb\xaa\x02\x1aGoogle.Cloud.Datastream.V1\xca\x02\x1aGoogle\\Cloud\\Datastream\\V1\xea\x02\x1dGoogle::Cloud::Datastream::V1\xea\x41O\n\x1f\x63ompute.googleapis.com/Networks\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError => e
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
376
35
|
end
|
377
36
|
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
378
39
|
end
|
379
40
|
|
380
41
|
module Google
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -81,7 +83,7 @@ module Google
|
|
81
83
|
# long-running operation pattern.
|
82
84
|
# @!attribute [rw] new_issue_uri
|
83
85
|
# @return [::String]
|
84
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
85
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
86
88
|
# @!attribute [rw] documentation_uri
|
87
89
|
# @return [::String]
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +209,57 @@ module Google
|
|
203
209
|
# @!attribute [rw] common
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
205
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
206
242
|
class DotnetSettings
|
207
243
|
include ::Google::Protobuf::MessageExts
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
209
263
|
end
|
210
264
|
|
211
265
|
# Settings for Ruby client libraries.
|
@@ -240,8 +294,8 @@ module Google
|
|
240
294
|
# Example of a YAML configuration::
|
241
295
|
#
|
242
296
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
299
|
# long_running:
|
246
300
|
# initial_poll_delay:
|
247
301
|
# seconds: 60 # 1 minute
|
@@ -299,6 +353,15 @@ module Google
|
|
299
353
|
|
300
354
|
# Street View Org.
|
301
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
302
365
|
end
|
303
366
|
|
304
367
|
# To where should client libraries be published?
|