google-cloud-datastream-v1 0.10.1 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/datastream/v1/datastream/client.rb +111 -1
- data/lib/google/cloud/datastream/v1/datastream/operations.rb +3 -10
- data/lib/google/cloud/datastream/v1/datastream/rest/client.rb +104 -1
- data/lib/google/cloud/datastream/v1/datastream/rest/operations.rb +3 -10
- data/lib/google/cloud/datastream/v1/datastream/rest/service_stub.rb +60 -0
- data/lib/google/cloud/datastream/v1/datastream_pb.rb +2 -1
- data/lib/google/cloud/datastream/v1/datastream_resources_pb.rb +27 -1
- data/lib/google/cloud/datastream/v1/datastream_services_pb.rb +3 -0
- data/lib/google/cloud/datastream/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +20 -0
- data/proto_docs/google/cloud/datastream/v1/datastream.rb +27 -3
- data/proto_docs/google/cloud/datastream/v1/datastream_resources.rb +385 -8
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +3 -3
@@ -10,7 +10,7 @@ require 'google/protobuf/duration_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
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"
|
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\"\xe9\x03\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\x01\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\x12K\n\x11oracle_ssl_config\x18\x07 \x01(\x0b\x32+.google.cloud.datastream.v1.OracleSslConfigB\x03\xe0\x41\x01\x12K\n\x11oracle_asm_config\x18\x08 \x01(\x0b\x32+.google.cloud.datastream.v1.OracleAsmConfigB\x03\xe0\x41\x01\x12+\n\x1esecret_manager_stored_password\x18\t \x01(\tB\x03\xe0\x41\x01\x1a;\n\x19\x43onnectionAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf8\x02\n\x0fOracleAsmConfig\x12\x15\n\x08hostname\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04port\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\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\x18\n\x0b\x61sm_service\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12i\n\x15\x63onnection_attributes\x18\x06 \x03(\x0b\x32\x45.google.cloud.datastream.v1.OracleAsmConfig.ConnectionAttributesEntryB\x03\xe0\x41\x01\x12K\n\x11oracle_ssl_config\x18\x07 \x01(\x0b\x32+.google.cloud.datastream.v1.OracleSslConfigB\x03\xe0\x41\x01\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\x01\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\x01\x12\x15\n\x08\x64\x61tabase\x18\x05 \x01(\tB\x03\xe0\x41\x02\"|\n\x10SqlServerProfile\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\x01\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\"O\n\x0fOracleSslConfig\x12\x1b\n\x0e\x63\x61_certificate\x18\x01 \x01(\tB\x03\xe0\x41\x04\x12\x1f\n\x12\x63\x61_certificate_set\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\"\x84\t\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\x12J\n\x12sql_server_profile\x18i \x01(\x0b\x32,.google.cloud.datastream.v1.SqlServerProfileH\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\"\xbb\x08\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\x12L\n\tlog_miner\x18g \x01(\x0b\x32\x37.google.cloud.datastream.v1.OracleSourceConfig.LogMinerH\x01\x12[\n\x11\x62inary_log_parser\x18h \x01(\x0b\x32>.google.cloud.datastream.v1.OracleSourceConfig.BinaryLogParserH\x01\x1a\x12\n\x10\x44ropLargeObjects\x1a\x14\n\x12StreamLargeObjects\x1a\n\n\x08LogMiner\x1a\x8c\x03\n\x0f\x42inaryLogParser\x12{\n\x1aoracle_asm_log_file_access\x18\x01 \x01(\x0b\x32U.google.cloud.datastream.v1.OracleSourceConfig.BinaryLogParser.OracleAsmLogFileAccessH\x00\x12q\n\x14log_file_directories\x18\x02 \x01(\x0b\x32Q.google.cloud.datastream.v1.OracleSourceConfig.BinaryLogParser.LogFileDirectoriesH\x00\x1a\x18\n\x16OracleAsmLogFileAccess\x1a\\\n\x12LogFileDirectories\x12!\n\x14online_log_directory\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12#\n\x16\x61rchived_log_directory\x18\x02 \x01(\tB\x03\xe0\x41\x02\x42\x11\n\x0flog_file_accessB\x18\n\x16large_objects_handlingB\x0c\n\ncdc_method\"\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\"\xa7\x01\n\x0fSqlServerColumn\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\x06 \x01(\x08\x12\x10\n\x08nullable\x18\x07 \x01(\x08\x12\x18\n\x10ordinal_position\x18\x08 \x01(\x05\"]\n\x0eSqlServerTable\x12\r\n\x05table\x18\x01 \x01(\t\x12<\n\x07\x63olumns\x18\x02 \x03(\x0b\x32+.google.cloud.datastream.v1.SqlServerColumn\"]\n\x0fSqlServerSchema\x12\x0e\n\x06schema\x18\x01 \x01(\t\x12:\n\x06tables\x18\x02 \x03(\x0b\x32*.google.cloud.datastream.v1.SqlServerTable\"N\n\x0eSqlServerRdbms\x12<\n\x07schemas\x18\x01 \x03(\x0b\x32+.google.cloud.datastream.v1.SqlServerSchema\"\x96\x03\n\x15SqlServerSourceConfig\x12\x43\n\x0finclude_objects\x18\x01 \x01(\x0b\x32*.google.cloud.datastream.v1.SqlServerRdbms\x12\x43\n\x0f\x65xclude_objects\x18\x02 \x01(\x0b\x32*.google.cloud.datastream.v1.SqlServerRdbms\x12 \n\x18max_concurrent_cdc_tasks\x18\x03 \x01(\x05\x12%\n\x1dmax_concurrent_backfill_tasks\x18\x04 \x01(\x05\x12P\n\x10transaction_logs\x18\x65 \x01(\x0b\x32\x34.google.cloud.datastream.v1.SqlServerTransactionLogsH\x00\x12J\n\rchange_tables\x18\x66 \x01(\x0b\x32\x31.google.cloud.datastream.v1.SqlServerChangeTablesH\x00\x42\x0c\n\ncdc_method\"\x1a\n\x18SqlServerTransactionLogs\"\x17\n\x15SqlServerChangeTables\"\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\"\xad\x03\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\x12^\n\x13\x62inary_log_position\x18\x65 \x01(\x0b\x32?.google.cloud.datastream.v1.MysqlSourceConfig.BinaryLogPositionH\x00\x12\x42\n\x04gtid\x18\x66 \x01(\x0b\x32\x32.google.cloud.datastream.v1.MysqlSourceConfig.GtidH\x00\x1a\x13\n\x11\x42inaryLogPosition\x1a\x06\n\x04GtidB\x0c\n\ncdc_method\"\xcb\x03\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\x12U\n\x18sql_server_source_config\x18g \x01(\x0b\x32\x31.google.cloud.datastream.v1.SqlServerSourceConfigH\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\"\xac\x06\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\x12M\n\x05merge\x18\xad\x02 \x01(\x0b\x32;.google.cloud.datastream.v1.BigQueryDestinationConfig.MergeH\x01\x12X\n\x0b\x61ppend_only\x18\xae\x02 \x01(\x0b\x32@.google.cloud.datastream.v1.BigQueryDestinationConfig.AppendOnlyH\x01\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(\t\x1a\x0c\n\nAppendOnly\x1a\x07\n\x05MergeB\x10\n\x0e\x64\x61taset_configB\x0c\n\nwrite_mode\"\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\"\xe1\x0b\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\x12;\n\x12last_recovery_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a\xe6\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\x12Q\n\x1bsql_server_excluded_objects\x18\x04 \x01(\x0b\x32*.google.cloud.datastream.v1.SqlServerRdbmsH\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}\"\xee\x05\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\x12m\n\x15sql_server_identifier\x18\x04 \x01(\x0b\x32L.google.cloud.datastream.v1.SourceObjectIdentifier.SqlServerObjectIdentifierH\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\x1a\x44\n\x19SqlServerObjectIdentifier\x12\x13\n\x06schema\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\"\xff\x03\n\x0b\x42\x61\x63kfillJob\x12\x41\n\x05state\x18\x01 \x01(\x0e\x32-.google.cloud.datastream.v1.BackfillJob.StateB\x03\xe0\x41\x03\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\"\x88\x02\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.StateB\x03\xe0\x41\x03\x12>\n\x07message\x18\x03 \x03(\x0b\x32-.google.cloud.datastream.v1.ValidationMessage\x12\x0c\n\x04\x63ode\x18\x04 \x01(\t\"U\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\x12\x0b\n\x07WARNING\x10\x04\"\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\"\xb2\x05\n\x0b\x43\x64\x63Strategy\x12j\n\x1amost_recent_start_position\x18\x65 \x01(\x0b\x32?.google.cloud.datastream.v1.CdcStrategy.MostRecentStartPositionB\x03\xe0\x41\x01H\x00\x12p\n\x1dnext_available_start_position\x18\x66 \x01(\x0b\x32\x42.google.cloud.datastream.v1.CdcStrategy.NextAvailableStartPositionB\x03\xe0\x41\x01H\x00\x12\x65\n\x17specific_start_position\x18g \x01(\x0b\x32=.google.cloud.datastream.v1.CdcStrategy.SpecificStartPositionB\x03\xe0\x41\x01H\x00\x1a\x19\n\x17MostRecentStartPosition\x1a\x1c\n\x1aNextAvailableStartPosition\x1a\x92\x02\n\x15SpecificStartPosition\x12J\n\x12mysql_log_position\x18\x65 \x01(\x0b\x32,.google.cloud.datastream.v1.MysqlLogPositionH\x00\x12L\n\x13oracle_scn_position\x18\x66 \x01(\x0b\x32-.google.cloud.datastream.v1.OracleScnPositionH\x00\x12S\n\x17sql_server_lsn_position\x18g \x01(\x0b\x32\x30.google.cloud.datastream.v1.SqlServerLsnPositionH\x00\x42\n\n\x08positionB\x10\n\x0estart_position\"(\n\x14SqlServerLsnPosition\x12\x10\n\x03lsn\x18\x01 \x01(\tB\x03\xe0\x41\x02\"%\n\x11OracleScnPosition\x12\x10\n\x03scn\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\"Z\n\x10MysqlLogPosition\x12\x15\n\x08log_file\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x0clog_position\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x0f\n\r_log_positionB\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
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -43,8 +43,10 @@ module Google
|
|
43
43
|
module Datastream
|
44
44
|
module V1
|
45
45
|
OracleProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleProfile").msgclass
|
46
|
+
OracleAsmConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleAsmConfig").msgclass
|
46
47
|
MysqlProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.MysqlProfile").msgclass
|
47
48
|
PostgresqlProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.PostgresqlProfile").msgclass
|
49
|
+
SqlServerProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SqlServerProfile").msgclass
|
48
50
|
GcsProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.GcsProfile").msgclass
|
49
51
|
BigQueryProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BigQueryProfile").msgclass
|
50
52
|
StaticServiceIpConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.StaticServiceIpConnectivity").msgclass
|
@@ -55,6 +57,7 @@ module Google
|
|
55
57
|
PrivateConnectivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.PrivateConnectivity").msgclass
|
56
58
|
Route = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.Route").msgclass
|
57
59
|
MysqlSslConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.MysqlSslConfig").msgclass
|
60
|
+
OracleSslConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleSslConfig").msgclass
|
58
61
|
ConnectionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.ConnectionProfile").msgclass
|
59
62
|
OracleColumn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleColumn").msgclass
|
60
63
|
OracleTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleTable").msgclass
|
@@ -63,16 +66,29 @@ module Google
|
|
63
66
|
OracleSourceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleSourceConfig").msgclass
|
64
67
|
OracleSourceConfig::DropLargeObjects = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects").msgclass
|
65
68
|
OracleSourceConfig::StreamLargeObjects = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects").msgclass
|
69
|
+
OracleSourceConfig::LogMiner = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleSourceConfig.LogMiner").msgclass
|
70
|
+
OracleSourceConfig::BinaryLogParser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleSourceConfig.BinaryLogParser").msgclass
|
71
|
+
OracleSourceConfig::BinaryLogParser::OracleAsmLogFileAccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleSourceConfig.BinaryLogParser.OracleAsmLogFileAccess").msgclass
|
72
|
+
OracleSourceConfig::BinaryLogParser::LogFileDirectories = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleSourceConfig.BinaryLogParser.LogFileDirectories").msgclass
|
66
73
|
PostgresqlColumn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.PostgresqlColumn").msgclass
|
67
74
|
PostgresqlTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.PostgresqlTable").msgclass
|
68
75
|
PostgresqlSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.PostgresqlSchema").msgclass
|
69
76
|
PostgresqlRdbms = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.PostgresqlRdbms").msgclass
|
70
77
|
PostgresqlSourceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.PostgresqlSourceConfig").msgclass
|
78
|
+
SqlServerColumn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SqlServerColumn").msgclass
|
79
|
+
SqlServerTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SqlServerTable").msgclass
|
80
|
+
SqlServerSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SqlServerSchema").msgclass
|
81
|
+
SqlServerRdbms = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SqlServerRdbms").msgclass
|
82
|
+
SqlServerSourceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SqlServerSourceConfig").msgclass
|
83
|
+
SqlServerTransactionLogs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SqlServerTransactionLogs").msgclass
|
84
|
+
SqlServerChangeTables = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SqlServerChangeTables").msgclass
|
71
85
|
MysqlColumn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.MysqlColumn").msgclass
|
72
86
|
MysqlTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.MysqlTable").msgclass
|
73
87
|
MysqlDatabase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.MysqlDatabase").msgclass
|
74
88
|
MysqlRdbms = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.MysqlRdbms").msgclass
|
75
89
|
MysqlSourceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.MysqlSourceConfig").msgclass
|
90
|
+
MysqlSourceConfig::BinaryLogPosition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.MysqlSourceConfig.BinaryLogPosition").msgclass
|
91
|
+
MysqlSourceConfig::Gtid = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.MysqlSourceConfig.Gtid").msgclass
|
76
92
|
SourceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SourceConfig").msgclass
|
77
93
|
AvroFileFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.AvroFileFormat").msgclass
|
78
94
|
JsonFileFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.JsonFileFormat").msgclass
|
@@ -83,6 +99,8 @@ module Google
|
|
83
99
|
BigQueryDestinationConfig::SingleTargetDataset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset").msgclass
|
84
100
|
BigQueryDestinationConfig::SourceHierarchyDatasets = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets").msgclass
|
85
101
|
BigQueryDestinationConfig::SourceHierarchyDatasets::DatasetTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate").msgclass
|
102
|
+
BigQueryDestinationConfig::AppendOnly = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BigQueryDestinationConfig.AppendOnly").msgclass
|
103
|
+
BigQueryDestinationConfig::Merge = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BigQueryDestinationConfig.Merge").msgclass
|
86
104
|
DestinationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.DestinationConfig").msgclass
|
87
105
|
Stream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.Stream").msgclass
|
88
106
|
Stream::BackfillAllStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.Stream.BackfillAllStrategy").msgclass
|
@@ -93,6 +111,7 @@ module Google
|
|
93
111
|
SourceObjectIdentifier::OracleObjectIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier").msgclass
|
94
112
|
SourceObjectIdentifier::PostgresqlObjectIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier").msgclass
|
95
113
|
SourceObjectIdentifier::MysqlObjectIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier").msgclass
|
114
|
+
SourceObjectIdentifier::SqlServerObjectIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SourceObjectIdentifier.SqlServerObjectIdentifier").msgclass
|
96
115
|
BackfillJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BackfillJob").msgclass
|
97
116
|
BackfillJob::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BackfillJob.State").enummodule
|
98
117
|
BackfillJob::Trigger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.BackfillJob.Trigger").enummodule
|
@@ -102,6 +121,13 @@ module Google
|
|
102
121
|
Validation::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.Validation.State").enummodule
|
103
122
|
ValidationMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.ValidationMessage").msgclass
|
104
123
|
ValidationMessage::Level = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.ValidationMessage.Level").enummodule
|
124
|
+
CdcStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.CdcStrategy").msgclass
|
125
|
+
CdcStrategy::MostRecentStartPosition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.CdcStrategy.MostRecentStartPosition").msgclass
|
126
|
+
CdcStrategy::NextAvailableStartPosition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.CdcStrategy.NextAvailableStartPosition").msgclass
|
127
|
+
CdcStrategy::SpecificStartPosition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.CdcStrategy.SpecificStartPosition").msgclass
|
128
|
+
SqlServerLsnPosition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.SqlServerLsnPosition").msgclass
|
129
|
+
OracleScnPosition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.OracleScnPosition").msgclass
|
130
|
+
MysqlLogPosition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datastream.v1.MysqlLogPosition").msgclass
|
105
131
|
end
|
106
132
|
end
|
107
133
|
end
|
@@ -59,6 +59,9 @@ module Google
|
|
59
59
|
rpc :UpdateStream, ::Google::Cloud::Datastream::V1::UpdateStreamRequest, ::Google::Longrunning::Operation
|
60
60
|
# Use this method to delete a stream.
|
61
61
|
rpc :DeleteStream, ::Google::Cloud::Datastream::V1::DeleteStreamRequest, ::Google::Longrunning::Operation
|
62
|
+
# Use this method to start, resume or recover a stream with a non default CDC
|
63
|
+
# strategy.
|
64
|
+
rpc :RunStream, ::Google::Cloud::Datastream::V1::RunStreamRequest, ::Google::Longrunning::Operation
|
62
65
|
# Use this method to get details about a stream object.
|
63
66
|
rpc :GetStreamObject, ::Google::Cloud::Datastream::V1::GetStreamObjectRequest, ::Google::Cloud::Datastream::V1::StreamObject
|
64
67
|
# Use this method to look up a stream object by its source object identifier.
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -212,6 +215,12 @@ module Google
|
|
212
215
|
# enabled. By default, asynchronous REST clients will not be generated.
|
213
216
|
# This feature will be enabled by default 1 month after launching the
|
214
217
|
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
215
224
|
class ExperimentalFeatures
|
216
225
|
include ::Google::Protobuf::MessageExts
|
217
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -375,6 +384,17 @@ module Google
|
|
375
384
|
end
|
376
385
|
end
|
377
386
|
|
387
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
388
|
+
# a service for client libraries.
|
389
|
+
# @!attribute [rw] methods
|
390
|
+
# @return [::Array<::String>]
|
391
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
392
|
+
# on public client surfaces.
|
393
|
+
class SelectiveGapicGeneration
|
394
|
+
include ::Google::Protobuf::MessageExts
|
395
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
396
|
+
end
|
397
|
+
|
378
398
|
# The organization for which the client libraries are being published.
|
379
399
|
# Affects the url where generated docs are published, etc.
|
380
400
|
module ClientLibraryOrganization
|
@@ -48,6 +48,9 @@ module Google
|
|
48
48
|
# @!attribute [rw] postgresql_rdbms
|
49
49
|
# @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
|
50
50
|
# PostgreSQL RDBMS to enrich with child data objects and metadata.
|
51
|
+
# @!attribute [rw] sql_server_rdbms
|
52
|
+
# @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
|
53
|
+
# SQLServer RDBMS to enrich with child data objects and metadata.
|
51
54
|
class DiscoverConnectionProfileRequest
|
52
55
|
include ::Google::Protobuf::MessageExts
|
53
56
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -63,6 +66,9 @@ module Google
|
|
63
66
|
# @!attribute [rw] postgresql_rdbms
|
64
67
|
# @return [::Google::Cloud::Datastream::V1::PostgresqlRdbms]
|
65
68
|
# Enriched PostgreSQL RDBMS object.
|
69
|
+
# @!attribute [rw] sql_server_rdbms
|
70
|
+
# @return [::Google::Cloud::Datastream::V1::SqlServerRdbms]
|
71
|
+
# Enriched SQLServer RDBMS object.
|
66
72
|
class DiscoverConnectionProfileResponse
|
67
73
|
include ::Google::Protobuf::MessageExts
|
68
74
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -400,6 +406,23 @@ module Google
|
|
400
406
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
401
407
|
end
|
402
408
|
|
409
|
+
# Request message for running a stream.
|
410
|
+
# @!attribute [rw] name
|
411
|
+
# @return [::String]
|
412
|
+
# Required. Name of the stream resource to start, in the format:
|
413
|
+
# projects/\\{project_id}/locations/\\{location}/streams/\\{stream_name}
|
414
|
+
# @!attribute [rw] cdc_strategy
|
415
|
+
# @return [::Google::Cloud::Datastream::V1::CdcStrategy]
|
416
|
+
# Optional. The CDC strategy of the stream. If not set, the system's default
|
417
|
+
# value will be used.
|
418
|
+
# @!attribute [rw] force
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Optional. Update the stream without validating it.
|
421
|
+
class RunStreamRequest
|
422
|
+
include ::Google::Protobuf::MessageExts
|
423
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
424
|
+
end
|
425
|
+
|
403
426
|
# Request for fetching a specific stream object.
|
404
427
|
# @!attribute [rw] name
|
405
428
|
# @return [::String]
|
@@ -514,9 +537,10 @@ module Google
|
|
514
537
|
# @return [::Boolean]
|
515
538
|
# Output only. Identifies whether the user has requested cancellation
|
516
539
|
# of the operation. Operations that have successfully been cancelled
|
517
|
-
# have
|
518
|
-
# {::Google::
|
519
|
-
#
|
540
|
+
# have
|
541
|
+
# {::Google::Longrunning::Operation#error google.longrunning.Operation.error}
|
542
|
+
# value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
|
543
|
+
# corresponding to `Code.CANCELLED`.
|
520
544
|
# @!attribute [r] api_version
|
521
545
|
# @return [::String]
|
522
546
|
# Output only. API version used to start the operation.
|