google-cloud-datastream-v1 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,7 @@ module Google
22
22
  module Datastream
23
23
  module V1
24
24
  # Oracle database profile.
25
+ # Next ID: 10.
25
26
  # @!attribute [rw] hostname
26
27
  # @return [::String]
27
28
  # Required. Hostname for the Oracle connection.
@@ -33,13 +34,24 @@ module Google
33
34
  # Required. Username for the Oracle connection.
34
35
  # @!attribute [rw] password
35
36
  # @return [::String]
36
- # Required. Password for the Oracle connection.
37
+ # Optional. Password for the Oracle connection. Mutually exclusive with the
38
+ # `secret_manager_stored_password` field.
37
39
  # @!attribute [rw] database_service
38
40
  # @return [::String]
39
41
  # Required. Database for the Oracle connection.
40
42
  # @!attribute [rw] connection_attributes
41
43
  # @return [::Google::Protobuf::Map{::String => ::String}]
42
44
  # Connection string attributes
45
+ # @!attribute [rw] oracle_ssl_config
46
+ # @return [::Google::Cloud::Datastream::V1::OracleSslConfig]
47
+ # Optional. SSL configuration for the Oracle connection.
48
+ # @!attribute [rw] oracle_asm_config
49
+ # @return [::Google::Cloud::Datastream::V1::OracleAsmConfig]
50
+ # Optional. Configuration for Oracle ASM connection.
51
+ # @!attribute [rw] secret_manager_stored_password
52
+ # @return [::String]
53
+ # Optional. A reference to a Secret Manager resource name storing the Oracle
54
+ # connection password. Mutually exclusive with the `password` field.
43
55
  class OracleProfile
44
56
  include ::Google::Protobuf::MessageExts
45
57
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -54,7 +66,44 @@ module Google
54
66
  end
55
67
  end
56
68
 
69
+ # Configuration for Oracle Automatic Storage Management (ASM) connection.
70
+ # @!attribute [rw] hostname
71
+ # @return [::String]
72
+ # Required. Hostname for the Oracle ASM connection.
73
+ # @!attribute [rw] port
74
+ # @return [::Integer]
75
+ # Required. Port for the Oracle ASM connection.
76
+ # @!attribute [rw] username
77
+ # @return [::String]
78
+ # Required. Username for the Oracle ASM connection.
79
+ # @!attribute [rw] password
80
+ # @return [::String]
81
+ # Required. Password for the Oracle ASM connection.
82
+ # @!attribute [rw] asm_service
83
+ # @return [::String]
84
+ # Required. ASM service name for the Oracle ASM connection.
85
+ # @!attribute [rw] connection_attributes
86
+ # @return [::Google::Protobuf::Map{::String => ::String}]
87
+ # Optional. Connection string attributes
88
+ # @!attribute [rw] oracle_ssl_config
89
+ # @return [::Google::Cloud::Datastream::V1::OracleSslConfig]
90
+ # Optional. SSL configuration for the Oracle connection.
91
+ class OracleAsmConfig
92
+ include ::Google::Protobuf::MessageExts
93
+ extend ::Google::Protobuf::MessageExts::ClassMethods
94
+
95
+ # @!attribute [rw] key
96
+ # @return [::String]
97
+ # @!attribute [rw] value
98
+ # @return [::String]
99
+ class ConnectionAttributesEntry
100
+ include ::Google::Protobuf::MessageExts
101
+ extend ::Google::Protobuf::MessageExts::ClassMethods
102
+ end
103
+ end
104
+
57
105
  # MySQL database profile.
106
+ # Next ID: 7.
58
107
  # @!attribute [rw] hostname
59
108
  # @return [::String]
60
109
  # Required. Hostname for the MySQL connection.
@@ -66,7 +115,8 @@ module Google
66
115
  # Required. Username for the MySQL connection.
67
116
  # @!attribute [rw] password
68
117
  # @return [::String]
69
- # Required. Input only. Password for the MySQL connection.
118
+ # Optional. Input only. Password for the MySQL connection. Mutually exclusive
119
+ # with the `secret_manager_stored_password` field.
70
120
  # @!attribute [rw] ssl_config
71
121
  # @return [::Google::Cloud::Datastream::V1::MysqlSslConfig]
72
122
  # SSL configuration for the MySQL connection.
@@ -87,7 +137,8 @@ module Google
87
137
  # Required. Username for the PostgreSQL connection.
88
138
  # @!attribute [rw] password
89
139
  # @return [::String]
90
- # Required. Password for the PostgreSQL connection.
140
+ # Optional. Password for the PostgreSQL connection. Mutually exclusive with
141
+ # the `secret_manager_stored_password` field.
91
142
  # @!attribute [rw] database
92
143
  # @return [::String]
93
144
  # Required. Database for the PostgreSQL connection.
@@ -96,6 +147,29 @@ module Google
96
147
  extend ::Google::Protobuf::MessageExts::ClassMethods
97
148
  end
98
149
 
150
+ # SQLServer database profile.
151
+ # Next ID: 8.
152
+ # @!attribute [rw] hostname
153
+ # @return [::String]
154
+ # Required. Hostname for the SQLServer connection.
155
+ # @!attribute [rw] port
156
+ # @return [::Integer]
157
+ # Port for the SQLServer connection, default value is 1433.
158
+ # @!attribute [rw] username
159
+ # @return [::String]
160
+ # Required. Username for the SQLServer connection.
161
+ # @!attribute [rw] password
162
+ # @return [::String]
163
+ # Optional. Password for the SQLServer connection. Mutually exclusive with
164
+ # the `secret_manager_stored_password` field.
165
+ # @!attribute [rw] database
166
+ # @return [::String]
167
+ # Required. Database for the SQLServer connection.
168
+ class SqlServerProfile
169
+ include ::Google::Protobuf::MessageExts
170
+ extend ::Google::Protobuf::MessageExts::ClassMethods
171
+ end
172
+
99
173
  # Cloud Storage bucket profile.
100
174
  # @!attribute [rw] bucket
101
175
  # @return [::String]
@@ -295,6 +369,20 @@ module Google
295
369
  extend ::Google::Protobuf::MessageExts::ClassMethods
296
370
  end
297
371
 
372
+ # Oracle SSL configuration information.
373
+ # @!attribute [rw] ca_certificate
374
+ # @return [::String]
375
+ # Input only. PEM-encoded certificate of the CA that signed the source
376
+ # database server's certificate.
377
+ # @!attribute [r] ca_certificate_set
378
+ # @return [::Boolean]
379
+ # Output only. Indicates whether the ca_certificate field has been set for
380
+ # this Connection-Profile.
381
+ class OracleSslConfig
382
+ include ::Google::Protobuf::MessageExts
383
+ extend ::Google::Protobuf::MessageExts::ClassMethods
384
+ end
385
+
298
386
  # A set of reusable connection configurations to be used as a source or
299
387
  # destination for a stream.
300
388
  # @!attribute [r] name
@@ -327,6 +415,9 @@ module Google
327
415
  # @!attribute [rw] postgresql_profile
328
416
  # @return [::Google::Cloud::Datastream::V1::PostgresqlProfile]
329
417
  # PostgreSQL Connection Profile configuration.
418
+ # @!attribute [rw] sql_server_profile
419
+ # @return [::Google::Cloud::Datastream::V1::SqlServerProfile]
420
+ # SQLServer Connection Profile configuration.
330
421
  # @!attribute [rw] static_service_ip_connectivity
331
422
  # @return [::Google::Cloud::Datastream::V1::StaticServiceIpConnectivity]
332
423
  # Static Service IP connectivity.
@@ -438,7 +529,13 @@ module Google
438
529
  # Drop large object values.
439
530
  # @!attribute [rw] stream_large_objects
440
531
  # @return [::Google::Cloud::Datastream::V1::OracleSourceConfig::StreamLargeObjects]
441
- # Stream large object values. NOTE: This feature is currently experimental.
532
+ # Stream large object values.
533
+ # @!attribute [rw] log_miner
534
+ # @return [::Google::Cloud::Datastream::V1::OracleSourceConfig::LogMiner]
535
+ # Use LogMiner.
536
+ # @!attribute [rw] binary_log_parser
537
+ # @return [::Google::Cloud::Datastream::V1::OracleSourceConfig::BinaryLogParser]
538
+ # Use Binary Log Parser.
442
539
  class OracleSourceConfig
443
540
  include ::Google::Protobuf::MessageExts
444
541
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -454,6 +551,42 @@ module Google
454
551
  include ::Google::Protobuf::MessageExts
455
552
  extend ::Google::Protobuf::MessageExts::ClassMethods
456
553
  end
554
+
555
+ # Configuration to use LogMiner CDC method.
556
+ class LogMiner
557
+ include ::Google::Protobuf::MessageExts
558
+ extend ::Google::Protobuf::MessageExts::ClassMethods
559
+ end
560
+
561
+ # Configuration to use Binary Log Parser CDC technique.
562
+ # @!attribute [rw] oracle_asm_log_file_access
563
+ # @return [::Google::Cloud::Datastream::V1::OracleSourceConfig::BinaryLogParser::OracleAsmLogFileAccess]
564
+ # Use Oracle ASM.
565
+ # @!attribute [rw] log_file_directories
566
+ # @return [::Google::Cloud::Datastream::V1::OracleSourceConfig::BinaryLogParser::LogFileDirectories]
567
+ # Use Oracle directories.
568
+ class BinaryLogParser
569
+ include ::Google::Protobuf::MessageExts
570
+ extend ::Google::Protobuf::MessageExts::ClassMethods
571
+
572
+ # Configuration to use Oracle ASM to access the log files.
573
+ class OracleAsmLogFileAccess
574
+ include ::Google::Protobuf::MessageExts
575
+ extend ::Google::Protobuf::MessageExts::ClassMethods
576
+ end
577
+
578
+ # Configuration to specify the Oracle directories to access the log files.
579
+ # @!attribute [rw] online_log_directory
580
+ # @return [::String]
581
+ # Required. Oracle directory for online logs.
582
+ # @!attribute [rw] archived_log_directory
583
+ # @return [::String]
584
+ # Required. Oracle directory for archived logs.
585
+ class LogFileDirectories
586
+ include ::Google::Protobuf::MessageExts
587
+ extend ::Google::Protobuf::MessageExts::ClassMethods
588
+ end
589
+ end
457
590
  end
458
591
 
459
592
  # PostgreSQL Column.
@@ -546,6 +679,107 @@ module Google
546
679
  extend ::Google::Protobuf::MessageExts::ClassMethods
547
680
  end
548
681
 
682
+ # SQLServer Column.
683
+ # @!attribute [rw] column
684
+ # @return [::String]
685
+ # Column name.
686
+ # @!attribute [rw] data_type
687
+ # @return [::String]
688
+ # The SQLServer data type.
689
+ # @!attribute [rw] length
690
+ # @return [::Integer]
691
+ # Column length.
692
+ # @!attribute [rw] precision
693
+ # @return [::Integer]
694
+ # Column precision.
695
+ # @!attribute [rw] scale
696
+ # @return [::Integer]
697
+ # Column scale.
698
+ # @!attribute [rw] primary_key
699
+ # @return [::Boolean]
700
+ # Whether or not the column represents a primary key.
701
+ # @!attribute [rw] nullable
702
+ # @return [::Boolean]
703
+ # Whether or not the column can accept a null value.
704
+ # @!attribute [rw] ordinal_position
705
+ # @return [::Integer]
706
+ # The ordinal position of the column in the table.
707
+ class SqlServerColumn
708
+ include ::Google::Protobuf::MessageExts
709
+ extend ::Google::Protobuf::MessageExts::ClassMethods
710
+ end
711
+
712
+ # SQLServer table.
713
+ # @!attribute [rw] table
714
+ # @return [::String]
715
+ # Table name.
716
+ # @!attribute [rw] columns
717
+ # @return [::Array<::Google::Cloud::Datastream::V1::SqlServerColumn>]
718
+ # SQLServer columns in the schema.
719
+ # When unspecified as part of include/exclude objects,
720
+ # includes/excludes everything.
721
+ class SqlServerTable
722
+ include ::Google::Protobuf::MessageExts
723
+ extend ::Google::Protobuf::MessageExts::ClassMethods
724
+ end
725
+
726
+ # SQLServer schema.
727
+ # @!attribute [rw] schema
728
+ # @return [::String]
729
+ # Schema name.
730
+ # @!attribute [rw] tables
731
+ # @return [::Array<::Google::Cloud::Datastream::V1::SqlServerTable>]
732
+ # Tables in the schema.
733
+ class SqlServerSchema
734
+ include ::Google::Protobuf::MessageExts
735
+ extend ::Google::Protobuf::MessageExts::ClassMethods
736
+ end
737
+
738
+ # SQLServer database structure.
739
+ # @!attribute [rw] schemas
740
+ # @return [::Array<::Google::Cloud::Datastream::V1::SqlServerSchema>]
741
+ # SQLServer schemas in the database server.
742
+ class SqlServerRdbms
743
+ include ::Google::Protobuf::MessageExts
744
+ extend ::Google::Protobuf::MessageExts::ClassMethods
745
+ end
746
+
747
+ # SQLServer data source configuration
748
+ # @!attribute [rw] include_objects
749
+ # @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
750
+ # SQLServer objects to include in the stream.
751
+ # @!attribute [rw] exclude_objects
752
+ # @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
753
+ # SQLServer objects to exclude from the stream.
754
+ # @!attribute [rw] max_concurrent_cdc_tasks
755
+ # @return [::Integer]
756
+ # Max concurrent CDC tasks.
757
+ # @!attribute [rw] max_concurrent_backfill_tasks
758
+ # @return [::Integer]
759
+ # Max concurrent backfill tasks.
760
+ # @!attribute [rw] transaction_logs
761
+ # @return [::Google::Cloud::Datastream::V1::SqlServerTransactionLogs]
762
+ # CDC reader reads from transaction logs.
763
+ # @!attribute [rw] change_tables
764
+ # @return [::Google::Cloud::Datastream::V1::SqlServerChangeTables]
765
+ # CDC reader reads from change tables.
766
+ class SqlServerSourceConfig
767
+ include ::Google::Protobuf::MessageExts
768
+ extend ::Google::Protobuf::MessageExts::ClassMethods
769
+ end
770
+
771
+ # Configuration to use Transaction Logs CDC read method.
772
+ class SqlServerTransactionLogs
773
+ include ::Google::Protobuf::MessageExts
774
+ extend ::Google::Protobuf::MessageExts::ClassMethods
775
+ end
776
+
777
+ # Configuration to use Change Tables CDC read method.
778
+ class SqlServerChangeTables
779
+ include ::Google::Protobuf::MessageExts
780
+ extend ::Google::Protobuf::MessageExts::ClassMethods
781
+ end
782
+
549
783
  # MySQL Column.
550
784
  # @!attribute [rw] column
551
785
  # @return [::String]
@@ -631,9 +865,27 @@ module Google
631
865
  # Maximum number of concurrent backfill tasks. The number should be non
632
866
  # negative. If not set (or set to 0), the system's default value will be
633
867
  # used.
868
+ # @!attribute [rw] binary_log_position
869
+ # @return [::Google::Cloud::Datastream::V1::MysqlSourceConfig::BinaryLogPosition]
870
+ # Use Binary log position based replication.
871
+ # @!attribute [rw] gtid
872
+ # @return [::Google::Cloud::Datastream::V1::MysqlSourceConfig::Gtid]
873
+ # Use GTID based replication.
634
874
  class MysqlSourceConfig
635
875
  include ::Google::Protobuf::MessageExts
636
876
  extend ::Google::Protobuf::MessageExts::ClassMethods
877
+
878
+ # Use Binary log position based replication.
879
+ class BinaryLogPosition
880
+ include ::Google::Protobuf::MessageExts
881
+ extend ::Google::Protobuf::MessageExts::ClassMethods
882
+ end
883
+
884
+ # Use GTID based replication.
885
+ class Gtid
886
+ include ::Google::Protobuf::MessageExts
887
+ extend ::Google::Protobuf::MessageExts::ClassMethods
888
+ end
637
889
  end
638
890
 
639
891
  # The configuration of the stream source.
@@ -650,6 +902,9 @@ module Google
650
902
  # @!attribute [rw] postgresql_source_config
651
903
  # @return [::Google::Cloud::Datastream::V1::PostgresqlSourceConfig]
652
904
  # PostgreSQL data source configuration.
905
+ # @!attribute [rw] sql_server_source_config
906
+ # @return [::Google::Cloud::Datastream::V1::SqlServerSourceConfig]
907
+ # SQLServer data source configuration.
653
908
  class SourceConfig
654
909
  include ::Google::Protobuf::MessageExts
655
910
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -733,6 +988,12 @@ module Google
733
988
  # the stream. Editing this field will only affect new tables created in the
734
989
  # future, but existing tables will not be impacted. Lower values mean that
735
990
  # queries will return fresher data, but may result in higher cost.
991
+ # @!attribute [rw] merge
992
+ # @return [::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::Merge]
993
+ # The standard mode
994
+ # @!attribute [rw] append_only
995
+ # @return [::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::AppendOnly]
996
+ # Append only mode
736
997
  class BigQueryDestinationConfig
737
998
  include ::Google::Protobuf::MessageExts
738
999
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -741,6 +1002,8 @@ module Google
741
1002
  # @!attribute [rw] dataset_id
742
1003
  # @return [::String]
743
1004
  # The dataset ID of the target dataset.
1005
+ # DatasetIds allowed characters:
1006
+ # https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#datasetreference.
744
1007
  class SingleTargetDataset
745
1008
  include ::Google::Protobuf::MessageExts
746
1009
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -780,6 +1043,20 @@ module Google
780
1043
  extend ::Google::Protobuf::MessageExts::ClassMethods
781
1044
  end
782
1045
  end
1046
+
1047
+ # AppendOnly mode defines that all changes to a table will be written to the
1048
+ # destination table.
1049
+ class AppendOnly
1050
+ include ::Google::Protobuf::MessageExts
1051
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1052
+ end
1053
+
1054
+ # Merge mode defines that all changes to a table will be merged at the
1055
+ # destination table.
1056
+ class Merge
1057
+ include ::Google::Protobuf::MessageExts
1058
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1059
+ end
783
1060
  end
784
1061
 
785
1062
  # The configuration of the stream destination.
@@ -839,6 +1116,10 @@ module Google
839
1116
  # If provided, it will be used to encrypt the data.
840
1117
  # If left blank, data will be encrypted using an internal Stream-specific
841
1118
  # encryption key provisioned through KMS.
1119
+ # @!attribute [r] last_recovery_time
1120
+ # @return [::Google::Protobuf::Timestamp]
1121
+ # Output only. If the stream was recovered, the time of the last recovery.
1122
+ # Note: This field is currently experimental.
842
1123
  class Stream
843
1124
  include ::Google::Protobuf::MessageExts
844
1125
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -854,6 +1135,9 @@ module Google
854
1135
  # @!attribute [rw] postgresql_excluded_objects
855
1136
  # @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
856
1137
  # PostgreSQL data source objects to avoid backfilling.
1138
+ # @!attribute [rw] sql_server_excluded_objects
1139
+ # @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
1140
+ # SQLServer data source objects to avoid backfilling
857
1141
  class BackfillAllStrategy
858
1142
  include ::Google::Protobuf::MessageExts
859
1143
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -946,6 +1230,9 @@ module Google
946
1230
  # @!attribute [rw] postgresql_identifier
947
1231
  # @return [::Google::Cloud::Datastream::V1::SourceObjectIdentifier::PostgresqlObjectIdentifier]
948
1232
  # PostgreSQL data source object identifier.
1233
+ # @!attribute [rw] sql_server_identifier
1234
+ # @return [::Google::Cloud::Datastream::V1::SourceObjectIdentifier::SqlServerObjectIdentifier]
1235
+ # SQLServer data source object identifier.
949
1236
  class SourceObjectIdentifier
950
1237
  include ::Google::Protobuf::MessageExts
951
1238
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -985,12 +1272,24 @@ module Google
985
1272
  include ::Google::Protobuf::MessageExts
986
1273
  extend ::Google::Protobuf::MessageExts::ClassMethods
987
1274
  end
1275
+
1276
+ # SQLServer data source object identifier.
1277
+ # @!attribute [rw] schema
1278
+ # @return [::String]
1279
+ # Required. The schema name.
1280
+ # @!attribute [rw] table
1281
+ # @return [::String]
1282
+ # Required. The table name.
1283
+ class SqlServerObjectIdentifier
1284
+ include ::Google::Protobuf::MessageExts
1285
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1286
+ end
988
1287
  end
989
1288
 
990
1289
  # Represents a backfill job on a specific stream object.
991
- # @!attribute [rw] state
1290
+ # @!attribute [r] state
992
1291
  # @return [::Google::Cloud::Datastream::V1::BackfillJob::State]
993
- # Backfill job state.
1292
+ # Output only. Backfill job state.
994
1293
  # @!attribute [rw] trigger
995
1294
  # @return [::Google::Cloud::Datastream::V1::BackfillJob::Trigger]
996
1295
  # Backfill job's triggering reason.
@@ -1096,9 +1395,9 @@ module Google
1096
1395
  # @!attribute [rw] description
1097
1396
  # @return [::String]
1098
1397
  # A short description of the validation.
1099
- # @!attribute [rw] state
1398
+ # @!attribute [r] state
1100
1399
  # @return [::Google::Cloud::Datastream::V1::Validation::State]
1101
- # Validation execution status.
1400
+ # Output only. Validation execution status.
1102
1401
  # @!attribute [rw] message
1103
1402
  # @return [::Array<::Google::Cloud::Datastream::V1::ValidationMessage>]
1104
1403
  # Messages reflecting the validation results.
@@ -1122,6 +1421,9 @@ module Google
1122
1421
 
1123
1422
  # Validation passed.
1124
1423
  PASSED = 3
1424
+
1425
+ # Validation executed with warnings.
1426
+ WARNING = 4
1125
1427
  end
1126
1428
  end
1127
1429
 
@@ -1163,6 +1465,81 @@ module Google
1163
1465
  ERROR = 2
1164
1466
  end
1165
1467
  end
1468
+
1469
+ # The strategy that the stream uses for CDC replication.
1470
+ # @!attribute [rw] most_recent_start_position
1471
+ # @return [::Google::Cloud::Datastream::V1::CdcStrategy::MostRecentStartPosition]
1472
+ # Optional. Start replicating from the most recent position in the source.
1473
+ # @!attribute [rw] next_available_start_position
1474
+ # @return [::Google::Cloud::Datastream::V1::CdcStrategy::NextAvailableStartPosition]
1475
+ # Optional. Resume replication from the next available position in the
1476
+ # source.
1477
+ # @!attribute [rw] specific_start_position
1478
+ # @return [::Google::Cloud::Datastream::V1::CdcStrategy::SpecificStartPosition]
1479
+ # Optional. Start replicating from a specific position in the source.
1480
+ class CdcStrategy
1481
+ include ::Google::Protobuf::MessageExts
1482
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1483
+
1484
+ # CDC strategy to start replicating from the most recent position in the
1485
+ # source.
1486
+ class MostRecentStartPosition
1487
+ include ::Google::Protobuf::MessageExts
1488
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1489
+ end
1490
+
1491
+ # CDC strategy to resume replication from the next available position in the
1492
+ # source.
1493
+ class NextAvailableStartPosition
1494
+ include ::Google::Protobuf::MessageExts
1495
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1496
+ end
1497
+
1498
+ # CDC strategy to start replicating from a specific position in the source.
1499
+ # @!attribute [rw] mysql_log_position
1500
+ # @return [::Google::Cloud::Datastream::V1::MysqlLogPosition]
1501
+ # MySQL specific log position to start replicating from.
1502
+ # @!attribute [rw] oracle_scn_position
1503
+ # @return [::Google::Cloud::Datastream::V1::OracleScnPosition]
1504
+ # Oracle SCN to start replicating from.
1505
+ # @!attribute [rw] sql_server_lsn_position
1506
+ # @return [::Google::Cloud::Datastream::V1::SqlServerLsnPosition]
1507
+ # SqlServer LSN to start replicating from.
1508
+ class SpecificStartPosition
1509
+ include ::Google::Protobuf::MessageExts
1510
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1511
+ end
1512
+ end
1513
+
1514
+ # SQL Server LSN position
1515
+ # @!attribute [rw] lsn
1516
+ # @return [::String]
1517
+ # Required. Log sequence number (LSN) from where Logs will be read
1518
+ class SqlServerLsnPosition
1519
+ include ::Google::Protobuf::MessageExts
1520
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1521
+ end
1522
+
1523
+ # Oracle SCN position
1524
+ # @!attribute [rw] scn
1525
+ # @return [::Integer]
1526
+ # Required. SCN number from where Logs will be read
1527
+ class OracleScnPosition
1528
+ include ::Google::Protobuf::MessageExts
1529
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1530
+ end
1531
+
1532
+ # MySQL log position
1533
+ # @!attribute [rw] log_file
1534
+ # @return [::String]
1535
+ # Required. The binary log file name.
1536
+ # @!attribute [rw] log_position
1537
+ # @return [::Integer]
1538
+ # Optional. The position within the binary log file. Default is head of file.
1539
+ class MysqlLogPosition
1540
+ include ::Google::Protobuf::MessageExts
1541
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1542
+ end
1166
1543
  end
1167
1544
  end
1168
1545
  end
@@ -42,7 +42,7 @@ module Google
42
42
  # The error result of the operation in case of failure or cancellation.
43
43
  # @!attribute [rw] response
44
44
  # @return [::Google::Protobuf::Any]
45
- # The normal response of the operation in case of success. If the original
45
+ # The normal, successful response of the operation. If the original
46
46
  # method returns no data on success, such as `Delete`, the response is
47
47
  # `google.protobuf.Empty`. If the original method is standard
48
48
  # `Get`/`Create`/`Update`, the response should be the resource. For other
@@ -55,7 +55,8 @@ module Google
55
55
  extend ::Google::Protobuf::MessageExts::ClassMethods
56
56
  end
57
57
 
58
- # The request message for Operations.GetOperation.
58
+ # The request message for
59
+ # Operations.GetOperation.
59
60
  # @!attribute [rw] name
60
61
  # @return [::String]
61
62
  # The name of the operation resource.
@@ -64,7 +65,8 @@ module Google
64
65
  extend ::Google::Protobuf::MessageExts::ClassMethods
65
66
  end
66
67
 
67
- # The request message for Operations.ListOperations.
68
+ # The request message for
69
+ # Operations.ListOperations.
68
70
  # @!attribute [rw] name
69
71
  # @return [::String]
70
72
  # The name of the operation's parent resource.
@@ -82,7 +84,8 @@ module Google
82
84
  extend ::Google::Protobuf::MessageExts::ClassMethods
83
85
  end
84
86
 
85
- # The response message for Operations.ListOperations.
87
+ # The response message for
88
+ # Operations.ListOperations.
86
89
  # @!attribute [rw] operations
87
90
  # @return [::Array<::Google::Longrunning::Operation>]
88
91
  # A list of operations that matches the specified filter in the request.
@@ -94,7 +97,8 @@ module Google
94
97
  extend ::Google::Protobuf::MessageExts::ClassMethods
95
98
  end
96
99
 
97
- # The request message for Operations.CancelOperation.
100
+ # The request message for
101
+ # Operations.CancelOperation.
98
102
  # @!attribute [rw] name
99
103
  # @return [::String]
100
104
  # The name of the operation resource to be cancelled.
@@ -103,7 +107,8 @@ module Google
103
107
  extend ::Google::Protobuf::MessageExts::ClassMethods
104
108
  end
105
109
 
106
- # The request message for Operations.DeleteOperation.
110
+ # The request message for
111
+ # Operations.DeleteOperation.
107
112
  # @!attribute [rw] name
108
113
  # @return [::String]
109
114
  # The name of the operation resource to be deleted.
@@ -112,7 +117,8 @@ module Google
112
117
  extend ::Google::Protobuf::MessageExts::ClassMethods
113
118
  end
114
119
 
115
- # The request message for Operations.WaitOperation.
120
+ # The request message for
121
+ # Operations.WaitOperation.
116
122
  # @!attribute [rw] name
117
123
  # @return [::String]
118
124
  # The name of the operation resource to wait on.
@@ -130,13 +136,12 @@ module Google
130
136
  #
131
137
  # Example:
132
138
  #
133
- # rpc LongRunningRecognize(LongRunningRecognizeRequest)
134
- # returns (google.longrunning.Operation) {
135
- # option (google.longrunning.operation_info) = {
136
- # response_type: "LongRunningRecognizeResponse"
137
- # metadata_type: "LongRunningRecognizeMetadata"
138
- # };
139
- # }
139
+ # rpc Export(ExportRequest) returns (google.longrunning.Operation) {
140
+ # option (google.longrunning.operation_info) = {
141
+ # response_type: "ExportResponse"
142
+ # metadata_type: "ExportMetadata"
143
+ # };
144
+ # }
140
145
  # @!attribute [rw] response_type
141
146
  # @return [::String]
142
147
  # Required. The message name of the primary return type for this
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-datastream-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  - !ruby/object:Gem::Version
151
151
  version: '0'
152
152
  requirements: []
153
- rubygems_version: 3.5.6
153
+ rubygems_version: 3.5.22
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: API Client library for the Datastream V1 API