google-cloud-datastream-v1 0.11.0 → 0.13.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 +31 -21
- data/lib/google/cloud/datastream/v1/datastream/client.rb +68 -27
- data/lib/google/cloud/datastream/v1/datastream/operations.rb +16 -5
- data/lib/google/cloud/datastream/v1/datastream/rest/client.rb +65 -27
- data/lib/google/cloud/datastream/v1/datastream/rest/operations.rb +47 -28
- data/lib/google/cloud/datastream/v1/datastream/rest/service_stub.rb +222 -158
- data/lib/google/cloud/datastream/v1/datastream_resources_pb.rb +4 -1
- data/lib/google/cloud/datastream/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +19 -0
- data/proto_docs/google/cloud/datastream/v1/datastream.rb +24 -0
- data/proto_docs/google/cloud/datastream/v1/datastream_resources.rb +167 -6
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
@@ -67,6 +67,7 @@ module Google
|
|
67
67
|
end
|
68
68
|
|
69
69
|
# Configuration for Oracle Automatic Storage Management (ASM) connection.
|
70
|
+
# .
|
70
71
|
# @!attribute [rw] hostname
|
71
72
|
# @return [::String]
|
72
73
|
# Required. Hostname for the Oracle ASM connection.
|
@@ -78,7 +79,7 @@ module Google
|
|
78
79
|
# Required. Username for the Oracle ASM connection.
|
79
80
|
# @!attribute [rw] password
|
80
81
|
# @return [::String]
|
81
|
-
#
|
82
|
+
# Optional. Password for the Oracle ASM connection.
|
82
83
|
# @!attribute [rw] asm_service
|
83
84
|
# @return [::String]
|
84
85
|
# Required. ASM service name for the Oracle ASM connection.
|
@@ -142,6 +143,12 @@ module Google
|
|
142
143
|
# @!attribute [rw] database
|
143
144
|
# @return [::String]
|
144
145
|
# Required. Database for the PostgreSQL connection.
|
146
|
+
# @!attribute [rw] ssl_config
|
147
|
+
# @return [::Google::Cloud::Datastream::V1::PostgresqlSslConfig]
|
148
|
+
# Optional. SSL configuration for the PostgreSQL connection.
|
149
|
+
# In case PostgresqlSslConfig is not set, the connection will use the default
|
150
|
+
# SSL mode, which is `prefer` (i.e. this mode will only use encryption if
|
151
|
+
# enabled from database side, otherwise will use unencrypted communication)
|
145
152
|
class PostgresqlProfile
|
146
153
|
include ::Google::Protobuf::MessageExts
|
147
154
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -209,9 +216,13 @@ module Google
|
|
209
216
|
# @!attribute [rw] password
|
210
217
|
# @return [::String]
|
211
218
|
# Input only. SSH password.
|
219
|
+
#
|
220
|
+
# Note: The following fields are mutually exclusive: `password`, `private_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
212
221
|
# @!attribute [rw] private_key
|
213
222
|
# @return [::String]
|
214
223
|
# Input only. SSH private key.
|
224
|
+
#
|
225
|
+
# Note: The following fields are mutually exclusive: `private_key`, `password`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
215
226
|
class ForwardSshTunnelConnectivity
|
216
227
|
include ::Google::Protobuf::MessageExts
|
217
228
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -235,7 +246,7 @@ module Google
|
|
235
246
|
# between Datastream and a customer's network.
|
236
247
|
# @!attribute [r] name
|
237
248
|
# @return [::String]
|
238
|
-
# Output only. The resource's name.
|
249
|
+
# Output only. Identifier. The resource's name.
|
239
250
|
# @!attribute [r] create_time
|
240
251
|
# @return [::Google::Protobuf::Timestamp]
|
241
252
|
# Output only. The create time of the resource.
|
@@ -307,7 +318,7 @@ module Google
|
|
307
318
|
# used for defining a route for a private connection.
|
308
319
|
# @!attribute [r] name
|
309
320
|
# @return [::String]
|
310
|
-
# Output only. The resource's name.
|
321
|
+
# Output only. Identifier. The resource's name.
|
311
322
|
# @!attribute [r] create_time
|
312
323
|
# @return [::Google::Protobuf::Timestamp]
|
313
324
|
# Output only. The create time of the resource.
|
@@ -383,11 +394,67 @@ module Google
|
|
383
394
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
384
395
|
end
|
385
396
|
|
397
|
+
# PostgreSQL SSL configuration information.
|
398
|
+
# @!attribute [rw] server_verification
|
399
|
+
# @return [::Google::Cloud::Datastream::V1::PostgresqlSslConfig::ServerVerification]
|
400
|
+
# If this field is set, the communication will be encrypted with TLS
|
401
|
+
# encryption and the server identity will be authenticated.
|
402
|
+
#
|
403
|
+
# Note: The following fields are mutually exclusive: `server_verification`, `server_and_client_verification`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
404
|
+
# @!attribute [rw] server_and_client_verification
|
405
|
+
# @return [::Google::Cloud::Datastream::V1::PostgresqlSslConfig::ServerAndClientVerification]
|
406
|
+
# If this field is set, the communication will be encrypted with TLS
|
407
|
+
# encryption and both the server identity and the client identity will be
|
408
|
+
# authenticated.
|
409
|
+
#
|
410
|
+
# Note: The following fields are mutually exclusive: `server_and_client_verification`, `server_verification`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
411
|
+
class PostgresqlSslConfig
|
412
|
+
include ::Google::Protobuf::MessageExts
|
413
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
414
|
+
|
415
|
+
# Message represents the option where Datastream will enforce the encryption
|
416
|
+
# and authenticate the server identity. ca_certificate must be set if user
|
417
|
+
# selects this option.
|
418
|
+
# @!attribute [rw] ca_certificate
|
419
|
+
# @return [::String]
|
420
|
+
# Required. Input only. PEM-encoded server root CA certificate.
|
421
|
+
class ServerVerification
|
422
|
+
include ::Google::Protobuf::MessageExts
|
423
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
424
|
+
end
|
425
|
+
|
426
|
+
# Message represents the option where Datastream will enforce the encryption
|
427
|
+
# and authenticate the server identity as well as the client identity.
|
428
|
+
# ca_certificate, client_certificate and client_key must be set if user
|
429
|
+
# selects this option.
|
430
|
+
# @!attribute [rw] client_certificate
|
431
|
+
# @return [::String]
|
432
|
+
# Required. Input only. PEM-encoded certificate used by the source database
|
433
|
+
# to authenticate the client identity (i.e., the Datastream's identity).
|
434
|
+
# This certificate is signed by either a root certificate trusted by the
|
435
|
+
# server or one or more intermediate certificates (which is stored with the
|
436
|
+
# leaf certificate) to link the this certificate to the trusted root
|
437
|
+
# certificate.
|
438
|
+
# @!attribute [rw] client_key
|
439
|
+
# @return [::String]
|
440
|
+
# Required. Input only. PEM-encoded private key associated with the client
|
441
|
+
# certificate. This value will be used during the SSL/TLS handshake,
|
442
|
+
# allowing the PostgreSQL server to authenticate the client's identity,
|
443
|
+
# i.e. identity of the Datastream.
|
444
|
+
# @!attribute [rw] ca_certificate
|
445
|
+
# @return [::String]
|
446
|
+
# Required. Input only. PEM-encoded server root CA certificate.
|
447
|
+
class ServerAndClientVerification
|
448
|
+
include ::Google::Protobuf::MessageExts
|
449
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
386
453
|
# A set of reusable connection configurations to be used as a source or
|
387
454
|
# destination for a stream.
|
388
455
|
# @!attribute [r] name
|
389
456
|
# @return [::String]
|
390
|
-
# Output only. The resource's name.
|
457
|
+
# Output only. Identifier. The resource's name.
|
391
458
|
# @!attribute [r] create_time
|
392
459
|
# @return [::Google::Protobuf::Timestamp]
|
393
460
|
# Output only. The create time of the resource.
|
@@ -403,30 +470,48 @@ module Google
|
|
403
470
|
# @!attribute [rw] oracle_profile
|
404
471
|
# @return [::Google::Cloud::Datastream::V1::OracleProfile]
|
405
472
|
# Oracle ConnectionProfile configuration.
|
473
|
+
#
|
474
|
+
# Note: The following fields are mutually exclusive: `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
406
475
|
# @!attribute [rw] gcs_profile
|
407
476
|
# @return [::Google::Cloud::Datastream::V1::GcsProfile]
|
408
477
|
# Cloud Storage ConnectionProfile configuration.
|
478
|
+
#
|
479
|
+
# Note: The following fields are mutually exclusive: `gcs_profile`, `oracle_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
409
480
|
# @!attribute [rw] mysql_profile
|
410
481
|
# @return [::Google::Cloud::Datastream::V1::MysqlProfile]
|
411
482
|
# MySQL ConnectionProfile configuration.
|
483
|
+
#
|
484
|
+
# Note: The following fields are mutually exclusive: `mysql_profile`, `oracle_profile`, `gcs_profile`, `bigquery_profile`, `postgresql_profile`, `sql_server_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
412
485
|
# @!attribute [rw] bigquery_profile
|
413
486
|
# @return [::Google::Cloud::Datastream::V1::BigQueryProfile]
|
414
487
|
# BigQuery Connection Profile configuration.
|
488
|
+
#
|
489
|
+
# Note: The following fields are mutually exclusive: `bigquery_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `postgresql_profile`, `sql_server_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
415
490
|
# @!attribute [rw] postgresql_profile
|
416
491
|
# @return [::Google::Cloud::Datastream::V1::PostgresqlProfile]
|
417
492
|
# PostgreSQL Connection Profile configuration.
|
493
|
+
#
|
494
|
+
# Note: The following fields are mutually exclusive: `postgresql_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `sql_server_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
418
495
|
# @!attribute [rw] sql_server_profile
|
419
496
|
# @return [::Google::Cloud::Datastream::V1::SqlServerProfile]
|
420
497
|
# SQLServer Connection Profile configuration.
|
498
|
+
#
|
499
|
+
# Note: The following fields are mutually exclusive: `sql_server_profile`, `oracle_profile`, `gcs_profile`, `mysql_profile`, `bigquery_profile`, `postgresql_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
421
500
|
# @!attribute [rw] static_service_ip_connectivity
|
422
501
|
# @return [::Google::Cloud::Datastream::V1::StaticServiceIpConnectivity]
|
423
502
|
# Static Service IP connectivity.
|
503
|
+
#
|
504
|
+
# Note: The following fields are mutually exclusive: `static_service_ip_connectivity`, `forward_ssh_connectivity`, `private_connectivity`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
424
505
|
# @!attribute [rw] forward_ssh_connectivity
|
425
506
|
# @return [::Google::Cloud::Datastream::V1::ForwardSshTunnelConnectivity]
|
426
507
|
# Forward SSH tunnel connectivity.
|
508
|
+
#
|
509
|
+
# Note: The following fields are mutually exclusive: `forward_ssh_connectivity`, `static_service_ip_connectivity`, `private_connectivity`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
427
510
|
# @!attribute [rw] private_connectivity
|
428
511
|
# @return [::Google::Cloud::Datastream::V1::PrivateConnectivity]
|
429
512
|
# Private connectivity.
|
513
|
+
#
|
514
|
+
# Note: The following fields are mutually exclusive: `private_connectivity`, `static_service_ip_connectivity`, `forward_ssh_connectivity`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
430
515
|
class ConnectionProfile
|
431
516
|
include ::Google::Protobuf::MessageExts
|
432
517
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -527,15 +612,23 @@ module Google
|
|
527
612
|
# @!attribute [rw] drop_large_objects
|
528
613
|
# @return [::Google::Cloud::Datastream::V1::OracleSourceConfig::DropLargeObjects]
|
529
614
|
# Drop large object values.
|
615
|
+
#
|
616
|
+
# Note: The following fields are mutually exclusive: `drop_large_objects`, `stream_large_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
530
617
|
# @!attribute [rw] stream_large_objects
|
531
618
|
# @return [::Google::Cloud::Datastream::V1::OracleSourceConfig::StreamLargeObjects]
|
532
619
|
# Stream large object values.
|
620
|
+
#
|
621
|
+
# Note: The following fields are mutually exclusive: `stream_large_objects`, `drop_large_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
533
622
|
# @!attribute [rw] log_miner
|
534
623
|
# @return [::Google::Cloud::Datastream::V1::OracleSourceConfig::LogMiner]
|
535
624
|
# Use LogMiner.
|
625
|
+
#
|
626
|
+
# Note: The following fields are mutually exclusive: `log_miner`, `binary_log_parser`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
536
627
|
# @!attribute [rw] binary_log_parser
|
537
628
|
# @return [::Google::Cloud::Datastream::V1::OracleSourceConfig::BinaryLogParser]
|
538
629
|
# Use Binary Log Parser.
|
630
|
+
#
|
631
|
+
# Note: The following fields are mutually exclusive: `binary_log_parser`, `log_miner`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
539
632
|
class OracleSourceConfig
|
540
633
|
include ::Google::Protobuf::MessageExts
|
541
634
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -562,9 +655,13 @@ module Google
|
|
562
655
|
# @!attribute [rw] oracle_asm_log_file_access
|
563
656
|
# @return [::Google::Cloud::Datastream::V1::OracleSourceConfig::BinaryLogParser::OracleAsmLogFileAccess]
|
564
657
|
# Use Oracle ASM.
|
658
|
+
#
|
659
|
+
# Note: The following fields are mutually exclusive: `oracle_asm_log_file_access`, `log_file_directories`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
565
660
|
# @!attribute [rw] log_file_directories
|
566
661
|
# @return [::Google::Cloud::Datastream::V1::OracleSourceConfig::BinaryLogParser::LogFileDirectories]
|
567
662
|
# Use Oracle directories.
|
663
|
+
#
|
664
|
+
# Note: The following fields are mutually exclusive: `log_file_directories`, `oracle_asm_log_file_access`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
568
665
|
class BinaryLogParser
|
569
666
|
include ::Google::Protobuf::MessageExts
|
570
667
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -760,9 +857,13 @@ module Google
|
|
760
857
|
# @!attribute [rw] transaction_logs
|
761
858
|
# @return [::Google::Cloud::Datastream::V1::SqlServerTransactionLogs]
|
762
859
|
# CDC reader reads from transaction logs.
|
860
|
+
#
|
861
|
+
# Note: The following fields are mutually exclusive: `transaction_logs`, `change_tables`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
763
862
|
# @!attribute [rw] change_tables
|
764
863
|
# @return [::Google::Cloud::Datastream::V1::SqlServerChangeTables]
|
765
864
|
# CDC reader reads from change tables.
|
865
|
+
#
|
866
|
+
# Note: The following fields are mutually exclusive: `change_tables`, `transaction_logs`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
766
867
|
class SqlServerSourceConfig
|
767
868
|
include ::Google::Protobuf::MessageExts
|
768
869
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -868,9 +969,13 @@ module Google
|
|
868
969
|
# @!attribute [rw] binary_log_position
|
869
970
|
# @return [::Google::Cloud::Datastream::V1::MysqlSourceConfig::BinaryLogPosition]
|
870
971
|
# Use Binary log position based replication.
|
972
|
+
#
|
973
|
+
# Note: The following fields are mutually exclusive: `binary_log_position`, `gtid`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
871
974
|
# @!attribute [rw] gtid
|
872
975
|
# @return [::Google::Cloud::Datastream::V1::MysqlSourceConfig::Gtid]
|
873
976
|
# Use GTID based replication.
|
977
|
+
#
|
978
|
+
# Note: The following fields are mutually exclusive: `gtid`, `binary_log_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
874
979
|
class MysqlSourceConfig
|
875
980
|
include ::Google::Protobuf::MessageExts
|
876
981
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -896,15 +1001,23 @@ module Google
|
|
896
1001
|
# @!attribute [rw] oracle_source_config
|
897
1002
|
# @return [::Google::Cloud::Datastream::V1::OracleSourceConfig]
|
898
1003
|
# Oracle data source configuration.
|
1004
|
+
#
|
1005
|
+
# Note: The following fields are mutually exclusive: `oracle_source_config`, `mysql_source_config`, `postgresql_source_config`, `sql_server_source_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
899
1006
|
# @!attribute [rw] mysql_source_config
|
900
1007
|
# @return [::Google::Cloud::Datastream::V1::MysqlSourceConfig]
|
901
1008
|
# MySQL data source configuration.
|
1009
|
+
#
|
1010
|
+
# Note: The following fields are mutually exclusive: `mysql_source_config`, `oracle_source_config`, `postgresql_source_config`, `sql_server_source_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
902
1011
|
# @!attribute [rw] postgresql_source_config
|
903
1012
|
# @return [::Google::Cloud::Datastream::V1::PostgresqlSourceConfig]
|
904
1013
|
# PostgreSQL data source configuration.
|
1014
|
+
#
|
1015
|
+
# Note: The following fields are mutually exclusive: `postgresql_source_config`, `oracle_source_config`, `mysql_source_config`, `sql_server_source_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
905
1016
|
# @!attribute [rw] sql_server_source_config
|
906
1017
|
# @return [::Google::Cloud::Datastream::V1::SqlServerSourceConfig]
|
907
1018
|
# SQLServer data source configuration.
|
1019
|
+
#
|
1020
|
+
# Note: The following fields are mutually exclusive: `sql_server_source_config`, `oracle_source_config`, `mysql_source_config`, `postgresql_source_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
908
1021
|
class SourceConfig
|
909
1022
|
include ::Google::Protobuf::MessageExts
|
910
1023
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -967,9 +1080,13 @@ module Google
|
|
967
1080
|
# @!attribute [rw] avro_file_format
|
968
1081
|
# @return [::Google::Cloud::Datastream::V1::AvroFileFormat]
|
969
1082
|
# AVRO file format configuration.
|
1083
|
+
#
|
1084
|
+
# Note: The following fields are mutually exclusive: `avro_file_format`, `json_file_format`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
970
1085
|
# @!attribute [rw] json_file_format
|
971
1086
|
# @return [::Google::Cloud::Datastream::V1::JsonFileFormat]
|
972
1087
|
# JSON file format configuration.
|
1088
|
+
#
|
1089
|
+
# Note: The following fields are mutually exclusive: `json_file_format`, `avro_file_format`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
973
1090
|
class GcsDestinationConfig
|
974
1091
|
include ::Google::Protobuf::MessageExts
|
975
1092
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -979,9 +1096,13 @@ module Google
|
|
979
1096
|
# @!attribute [rw] single_target_dataset
|
980
1097
|
# @return [::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SingleTargetDataset]
|
981
1098
|
# Single destination dataset.
|
1099
|
+
#
|
1100
|
+
# Note: The following fields are mutually exclusive: `single_target_dataset`, `source_hierarchy_datasets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
982
1101
|
# @!attribute [rw] source_hierarchy_datasets
|
983
1102
|
# @return [::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets]
|
984
1103
|
# Source hierarchy datasets.
|
1104
|
+
#
|
1105
|
+
# Note: The following fields are mutually exclusive: `source_hierarchy_datasets`, `single_target_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
985
1106
|
# @!attribute [rw] data_freshness
|
986
1107
|
# @return [::Google::Protobuf::Duration]
|
987
1108
|
# The guaranteed data freshness (in seconds) when querying tables created by
|
@@ -991,9 +1112,13 @@ module Google
|
|
991
1112
|
# @!attribute [rw] merge
|
992
1113
|
# @return [::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::Merge]
|
993
1114
|
# The standard mode
|
1115
|
+
#
|
1116
|
+
# Note: The following fields are mutually exclusive: `merge`, `append_only`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
994
1117
|
# @!attribute [rw] append_only
|
995
1118
|
# @return [::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::AppendOnly]
|
996
1119
|
# Append only mode
|
1120
|
+
#
|
1121
|
+
# Note: The following fields are mutually exclusive: `append_only`, `merge`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
997
1122
|
class BigQueryDestinationConfig
|
998
1123
|
include ::Google::Protobuf::MessageExts
|
999
1124
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1067,9 +1192,13 @@ module Google
|
|
1067
1192
|
# @!attribute [rw] gcs_destination_config
|
1068
1193
|
# @return [::Google::Cloud::Datastream::V1::GcsDestinationConfig]
|
1069
1194
|
# A configuration for how data should be loaded to Cloud Storage.
|
1195
|
+
#
|
1196
|
+
# Note: The following fields are mutually exclusive: `gcs_destination_config`, `bigquery_destination_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1070
1197
|
# @!attribute [rw] bigquery_destination_config
|
1071
1198
|
# @return [::Google::Cloud::Datastream::V1::BigQueryDestinationConfig]
|
1072
1199
|
# BigQuery destination configuration.
|
1200
|
+
#
|
1201
|
+
# Note: The following fields are mutually exclusive: `bigquery_destination_config`, `gcs_destination_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1073
1202
|
class DestinationConfig
|
1074
1203
|
include ::Google::Protobuf::MessageExts
|
1075
1204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1078,7 +1207,7 @@ module Google
|
|
1078
1207
|
# A resource representing streaming data from a source to a destination.
|
1079
1208
|
# @!attribute [r] name
|
1080
1209
|
# @return [::String]
|
1081
|
-
# Output only. The stream's name.
|
1210
|
+
# Output only. Identifier. The stream's name.
|
1082
1211
|
# @!attribute [r] create_time
|
1083
1212
|
# @return [::Google::Protobuf::Timestamp]
|
1084
1213
|
# Output only. The creation time of the stream.
|
@@ -1104,9 +1233,13 @@ module Google
|
|
1104
1233
|
# @return [::Google::Cloud::Datastream::V1::Stream::BackfillAllStrategy]
|
1105
1234
|
# Automatically backfill objects included in the stream source
|
1106
1235
|
# configuration. Specific objects can be excluded.
|
1236
|
+
#
|
1237
|
+
# Note: The following fields are mutually exclusive: `backfill_all`, `backfill_none`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1107
1238
|
# @!attribute [rw] backfill_none
|
1108
1239
|
# @return [::Google::Cloud::Datastream::V1::Stream::BackfillNoneStrategy]
|
1109
1240
|
# Do not automatically backfill any objects.
|
1241
|
+
#
|
1242
|
+
# Note: The following fields are mutually exclusive: `backfill_none`, `backfill_all`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1110
1243
|
# @!attribute [r] errors
|
1111
1244
|
# @return [::Array<::Google::Cloud::Datastream::V1::Error>]
|
1112
1245
|
# Output only. Errors on the Stream.
|
@@ -1129,15 +1262,23 @@ module Google
|
|
1129
1262
|
# @!attribute [rw] oracle_excluded_objects
|
1130
1263
|
# @return [::Google::Cloud::Datastream::V1::OracleRdbms]
|
1131
1264
|
# Oracle data source objects to avoid backfilling.
|
1265
|
+
#
|
1266
|
+
# Note: The following fields are mutually exclusive: `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1132
1267
|
# @!attribute [rw] mysql_excluded_objects
|
1133
1268
|
# @return [::Google::Cloud::Datastream::V1::MysqlRdbms]
|
1134
1269
|
# MySQL data source objects to avoid backfilling.
|
1270
|
+
#
|
1271
|
+
# Note: The following fields are mutually exclusive: `mysql_excluded_objects`, `oracle_excluded_objects`, `postgresql_excluded_objects`, `sql_server_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1135
1272
|
# @!attribute [rw] postgresql_excluded_objects
|
1136
1273
|
# @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
|
1137
1274
|
# PostgreSQL data source objects to avoid backfilling.
|
1275
|
+
#
|
1276
|
+
# Note: The following fields are mutually exclusive: `postgresql_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `sql_server_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1138
1277
|
# @!attribute [rw] sql_server_excluded_objects
|
1139
1278
|
# @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
|
1140
1279
|
# SQLServer data source objects to avoid backfilling
|
1280
|
+
#
|
1281
|
+
# Note: The following fields are mutually exclusive: `sql_server_excluded_objects`, `oracle_excluded_objects`, `mysql_excluded_objects`, `postgresql_excluded_objects`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1141
1282
|
class BackfillAllStrategy
|
1142
1283
|
include ::Google::Protobuf::MessageExts
|
1143
1284
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1196,7 +1337,7 @@ module Google
|
|
1196
1337
|
# A specific stream object (e.g a specific DB table).
|
1197
1338
|
# @!attribute [r] name
|
1198
1339
|
# @return [::String]
|
1199
|
-
# Output only. The object resource's name.
|
1340
|
+
# Output only. Identifier. The object resource's name.
|
1200
1341
|
# @!attribute [r] create_time
|
1201
1342
|
# @return [::Google::Protobuf::Timestamp]
|
1202
1343
|
# Output only. The creation time of the object.
|
@@ -1224,15 +1365,23 @@ module Google
|
|
1224
1365
|
# @!attribute [rw] oracle_identifier
|
1225
1366
|
# @return [::Google::Cloud::Datastream::V1::SourceObjectIdentifier::OracleObjectIdentifier]
|
1226
1367
|
# Oracle data source object identifier.
|
1368
|
+
#
|
1369
|
+
# Note: The following fields are mutually exclusive: `oracle_identifier`, `mysql_identifier`, `postgresql_identifier`, `sql_server_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1227
1370
|
# @!attribute [rw] mysql_identifier
|
1228
1371
|
# @return [::Google::Cloud::Datastream::V1::SourceObjectIdentifier::MysqlObjectIdentifier]
|
1229
1372
|
# Mysql data source object identifier.
|
1373
|
+
#
|
1374
|
+
# Note: The following fields are mutually exclusive: `mysql_identifier`, `oracle_identifier`, `postgresql_identifier`, `sql_server_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1230
1375
|
# @!attribute [rw] postgresql_identifier
|
1231
1376
|
# @return [::Google::Cloud::Datastream::V1::SourceObjectIdentifier::PostgresqlObjectIdentifier]
|
1232
1377
|
# PostgreSQL data source object identifier.
|
1378
|
+
#
|
1379
|
+
# Note: The following fields are mutually exclusive: `postgresql_identifier`, `oracle_identifier`, `mysql_identifier`, `sql_server_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1233
1380
|
# @!attribute [rw] sql_server_identifier
|
1234
1381
|
# @return [::Google::Cloud::Datastream::V1::SourceObjectIdentifier::SqlServerObjectIdentifier]
|
1235
1382
|
# SQLServer data source object identifier.
|
1383
|
+
#
|
1384
|
+
# Note: The following fields are mutually exclusive: `sql_server_identifier`, `oracle_identifier`, `mysql_identifier`, `postgresql_identifier`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1236
1385
|
class SourceObjectIdentifier
|
1237
1386
|
include ::Google::Protobuf::MessageExts
|
1238
1387
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1470,13 +1619,19 @@ module Google
|
|
1470
1619
|
# @!attribute [rw] most_recent_start_position
|
1471
1620
|
# @return [::Google::Cloud::Datastream::V1::CdcStrategy::MostRecentStartPosition]
|
1472
1621
|
# Optional. Start replicating from the most recent position in the source.
|
1622
|
+
#
|
1623
|
+
# Note: The following fields are mutually exclusive: `most_recent_start_position`, `next_available_start_position`, `specific_start_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1473
1624
|
# @!attribute [rw] next_available_start_position
|
1474
1625
|
# @return [::Google::Cloud::Datastream::V1::CdcStrategy::NextAvailableStartPosition]
|
1475
1626
|
# Optional. Resume replication from the next available position in the
|
1476
1627
|
# source.
|
1628
|
+
#
|
1629
|
+
# Note: The following fields are mutually exclusive: `next_available_start_position`, `most_recent_start_position`, `specific_start_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1477
1630
|
# @!attribute [rw] specific_start_position
|
1478
1631
|
# @return [::Google::Cloud::Datastream::V1::CdcStrategy::SpecificStartPosition]
|
1479
1632
|
# Optional. Start replicating from a specific position in the source.
|
1633
|
+
#
|
1634
|
+
# Note: The following fields are mutually exclusive: `specific_start_position`, `most_recent_start_position`, `next_available_start_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1480
1635
|
class CdcStrategy
|
1481
1636
|
include ::Google::Protobuf::MessageExts
|
1482
1637
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1499,12 +1654,18 @@ module Google
|
|
1499
1654
|
# @!attribute [rw] mysql_log_position
|
1500
1655
|
# @return [::Google::Cloud::Datastream::V1::MysqlLogPosition]
|
1501
1656
|
# MySQL specific log position to start replicating from.
|
1657
|
+
#
|
1658
|
+
# Note: The following fields are mutually exclusive: `mysql_log_position`, `oracle_scn_position`, `sql_server_lsn_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1502
1659
|
# @!attribute [rw] oracle_scn_position
|
1503
1660
|
# @return [::Google::Cloud::Datastream::V1::OracleScnPosition]
|
1504
1661
|
# Oracle SCN to start replicating from.
|
1662
|
+
#
|
1663
|
+
# Note: The following fields are mutually exclusive: `oracle_scn_position`, `mysql_log_position`, `sql_server_lsn_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1505
1664
|
# @!attribute [rw] sql_server_lsn_position
|
1506
1665
|
# @return [::Google::Cloud::Datastream::V1::SqlServerLsnPosition]
|
1507
1666
|
# SqlServer LSN to start replicating from.
|
1667
|
+
#
|
1668
|
+
# Note: The following fields are mutually exclusive: `sql_server_lsn_position`, `mysql_log_position`, `oracle_scn_position`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1508
1669
|
class SpecificStartPosition
|
1509
1670
|
include ::Google::Protobuf::MessageExts
|
1510
1671
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-datastream-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -135,7 +134,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
135
134
|
licenses:
|
136
135
|
- Apache-2.0
|
137
136
|
metadata: {}
|
138
|
-
post_install_message:
|
139
137
|
rdoc_options: []
|
140
138
|
require_paths:
|
141
139
|
- lib
|
@@ -143,15 +141,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
143
141
|
requirements:
|
144
142
|
- - ">="
|
145
143
|
- !ruby/object:Gem::Version
|
146
|
-
version: '
|
144
|
+
version: '3.0'
|
147
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
146
|
requirements:
|
149
147
|
- - ">="
|
150
148
|
- !ruby/object:Gem::Version
|
151
149
|
version: '0'
|
152
150
|
requirements: []
|
153
|
-
rubygems_version: 3.
|
154
|
-
signing_key:
|
151
|
+
rubygems_version: 3.6.2
|
155
152
|
specification_version: 4
|
156
153
|
summary: API Client library for the Datastream V1 API
|
157
154
|
test_files: []
|