1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042 |
- syntax = "proto3";
- package google.cloud.datastream.v1;
- import "google/api/annotations.proto";
- import "google/api/client.proto";
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/cloud/datastream/v1/datastream_resources.proto";
- import "google/longrunning/operations.proto";
- import "google/protobuf/field_mask.proto";
- import "google/protobuf/timestamp.proto";
- option csharp_namespace = "Google.Cloud.Datastream.V1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/datastream/v1;datastream";
- option java_multiple_files = true;
- option java_outer_classname = "DatastreamProto";
- option java_package = "com.google.cloud.datastream.v1";
- option php_namespace = "Google\\Cloud\\Datastream\\V1";
- option ruby_package = "Google::Cloud::Datastream::V1";
- service Datastream {
- option (google.api.default_host) = "datastream.googleapis.com";
- option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
-
-
- rpc ListConnectionProfiles(ListConnectionProfilesRequest) returns (ListConnectionProfilesResponse) {
- option (google.api.http) = {
- get: "/v1/{parent=projects/*/locations/*}/connectionProfiles"
- };
- option (google.api.method_signature) = "parent";
- }
-
- rpc GetConnectionProfile(GetConnectionProfileRequest) returns (ConnectionProfile) {
- option (google.api.http) = {
- get: "/v1/{name=projects/*/locations/*/connectionProfiles/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
- rpc CreateConnectionProfile(CreateConnectionProfileRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1/{parent=projects/*/locations/*}/connectionProfiles"
- body: "connection_profile"
- };
- option (google.api.method_signature) = "parent,connection_profile,connection_profile_id";
- option (google.longrunning.operation_info) = {
- response_type: "ConnectionProfile"
- metadata_type: "OperationMetadata"
- };
- }
-
- rpc UpdateConnectionProfile(UpdateConnectionProfileRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- patch: "/v1/{connection_profile.name=projects/*/locations/*/connectionProfiles/*}"
- body: "connection_profile"
- };
- option (google.api.method_signature) = "connection_profile,update_mask";
- option (google.longrunning.operation_info) = {
- response_type: "ConnectionProfile"
- metadata_type: "OperationMetadata"
- };
- }
-
- rpc DeleteConnectionProfile(DeleteConnectionProfileRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- delete: "/v1/{name=projects/*/locations/*/connectionProfiles/*}"
- };
- option (google.api.method_signature) = "name";
- option (google.longrunning.operation_info) = {
- response_type: "google.protobuf.Empty"
- metadata_type: "OperationMetadata"
- };
- }
-
-
-
-
- rpc DiscoverConnectionProfile(DiscoverConnectionProfileRequest) returns (DiscoverConnectionProfileResponse) {
- option (google.api.http) = {
- post: "/v1/{parent=projects/*/locations/*}/connectionProfiles:discover"
- body: "*"
- };
- }
-
- rpc ListStreams(ListStreamsRequest) returns (ListStreamsResponse) {
- option (google.api.http) = {
- get: "/v1/{parent=projects/*/locations/*}/streams"
- };
- option (google.api.method_signature) = "parent";
- }
-
- rpc GetStream(GetStreamRequest) returns (Stream) {
- option (google.api.http) = {
- get: "/v1/{name=projects/*/locations/*/streams/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
- rpc CreateStream(CreateStreamRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1/{parent=projects/*/locations/*}/streams"
- body: "stream"
- };
- option (google.api.method_signature) = "parent,stream,stream_id";
- option (google.longrunning.operation_info) = {
- response_type: "Stream"
- metadata_type: "OperationMetadata"
- };
- }
-
- rpc UpdateStream(UpdateStreamRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- patch: "/v1/{stream.name=projects/*/locations/*/streams/*}"
- body: "stream"
- };
- option (google.api.method_signature) = "stream,update_mask";
- option (google.longrunning.operation_info) = {
- response_type: "Stream"
- metadata_type: "OperationMetadata"
- };
- }
-
- rpc DeleteStream(DeleteStreamRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- delete: "/v1/{name=projects/*/locations/*/streams/*}"
- };
- option (google.api.method_signature) = "name";
- option (google.longrunning.operation_info) = {
- response_type: "google.protobuf.Empty"
- metadata_type: "OperationMetadata"
- };
- }
-
- rpc GetStreamObject(GetStreamObjectRequest) returns (StreamObject) {
- option (google.api.http) = {
- get: "/v1/{name=projects/*/locations/*/streams/*/objects/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
- rpc LookupStreamObject(LookupStreamObjectRequest) returns (StreamObject) {
- option (google.api.http) = {
- post: "/v1/{parent=projects/*/locations/*/streams/*}/objects:lookup"
- body: "*"
- };
- }
-
- rpc ListStreamObjects(ListStreamObjectsRequest) returns (ListStreamObjectsResponse) {
- option (google.api.http) = {
- get: "/v1/{parent=projects/*/locations/*/streams/*}/objects"
- };
- option (google.api.method_signature) = "parent";
- }
-
- rpc StartBackfillJob(StartBackfillJobRequest) returns (StartBackfillJobResponse) {
- option (google.api.http) = {
- post: "/v1/{object=projects/*/locations/*/streams/*/objects/*}:startBackfillJob"
- body: "*"
- };
- option (google.api.method_signature) = "object";
- }
-
- rpc StopBackfillJob(StopBackfillJobRequest) returns (StopBackfillJobResponse) {
- option (google.api.http) = {
- post: "/v1/{object=projects/*/locations/*/streams/*/objects/*}:stopBackfillJob"
- body: "*"
- };
- option (google.api.method_signature) = "object";
- }
-
-
- rpc FetchStaticIps(FetchStaticIpsRequest) returns (FetchStaticIpsResponse) {
- option (google.api.http) = {
- get: "/v1/{name=projects/*/locations/*}:fetchStaticIps"
- };
- option (google.api.method_signature) = "name";
- }
-
- rpc CreatePrivateConnection(CreatePrivateConnectionRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1/{parent=projects/*/locations/*}/privateConnections"
- body: "private_connection"
- };
- option (google.api.method_signature) = "parent,private_connection,private_connection_id";
- option (google.longrunning.operation_info) = {
- response_type: "PrivateConnection"
- metadata_type: "OperationMetadata"
- };
- }
-
- rpc GetPrivateConnection(GetPrivateConnectionRequest) returns (PrivateConnection) {
- option (google.api.http) = {
- get: "/v1/{name=projects/*/locations/*/privateConnections/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
-
- rpc ListPrivateConnections(ListPrivateConnectionsRequest) returns (ListPrivateConnectionsResponse) {
- option (google.api.http) = {
- get: "/v1/{parent=projects/*/locations/*}/privateConnections"
- };
- option (google.api.method_signature) = "parent";
- }
-
- rpc DeletePrivateConnection(DeletePrivateConnectionRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- delete: "/v1/{name=projects/*/locations/*/privateConnections/*}"
- };
- option (google.api.method_signature) = "name";
- option (google.longrunning.operation_info) = {
- response_type: "google.protobuf.Empty"
- metadata_type: "OperationMetadata"
- };
- }
-
-
- rpc CreateRoute(CreateRouteRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1/{parent=projects/*/locations/*/privateConnections/*}/routes"
- body: "route"
- };
- option (google.api.method_signature) = "parent,route,route_id";
- option (google.longrunning.operation_info) = {
- response_type: "Route"
- metadata_type: "OperationMetadata"
- };
- }
-
- rpc GetRoute(GetRouteRequest) returns (Route) {
- option (google.api.http) = {
- get: "/v1/{name=projects/*/locations/*/privateConnections/*/routes/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
-
- rpc ListRoutes(ListRoutesRequest) returns (ListRoutesResponse) {
- option (google.api.http) = {
- get: "/v1/{parent=projects/*/locations/*/privateConnections/*}/routes"
- };
- option (google.api.method_signature) = "parent";
- }
-
- rpc DeleteRoute(DeleteRouteRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- delete: "/v1/{name=projects/*/locations/*/privateConnections/*/routes/*}"
- };
- option (google.api.method_signature) = "name";
- option (google.longrunning.operation_info) = {
- response_type: "google.protobuf.Empty"
- metadata_type: "OperationMetadata"
- };
- }
- }
- message DiscoverConnectionProfileRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "datastream.googleapis.com/ConnectionProfile"
- }
- ];
-
- oneof target {
-
- ConnectionProfile connection_profile = 200;
-
- string connection_profile_name = 201;
- }
-
- oneof hierarchy {
-
-
- bool full_hierarchy = 3;
-
- int32 hierarchy_depth = 4;
- }
-
- oneof data_object {
-
- OracleRdbms oracle_rdbms = 100;
-
- MysqlRdbms mysql_rdbms = 101;
-
- PostgresqlRdbms postgresql_rdbms = 102;
- }
- }
- message DiscoverConnectionProfileResponse {
-
- oneof data_object {
-
- OracleRdbms oracle_rdbms = 100;
-
- MysqlRdbms mysql_rdbms = 101;
-
- PostgresqlRdbms postgresql_rdbms = 102;
- }
- }
- message FetchStaticIpsRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "locations.googleapis.com/Location"
- }
- ];
-
- int32 page_size = 2;
-
-
- string page_token = 3;
- }
- message FetchStaticIpsResponse {
-
- repeated string static_ips = 1;
-
-
- string next_page_token = 2;
- }
- message ListConnectionProfilesRequest {
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "datastream.googleapis.com/ConnectionProfile"
- }
- ];
-
-
-
- int32 page_size = 2;
-
-
-
-
-
- string page_token = 3;
-
- string filter = 4;
-
- string order_by = 5;
- }
- message ListConnectionProfilesResponse {
-
- repeated ConnectionProfile connection_profiles = 1;
-
-
- string next_page_token = 2;
-
- repeated string unreachable = 3;
- }
- message GetConnectionProfileRequest {
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datastream.googleapis.com/ConnectionProfile"
- }
- ];
- }
- message CreateConnectionProfileRequest {
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "datastream.googleapis.com/ConnectionProfile"
- }
- ];
-
- string connection_profile_id = 2 [(google.api.field_behavior) = REQUIRED];
-
- ConnectionProfile connection_profile = 3 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 4 [(google.api.field_behavior) = OPTIONAL];
-
-
- bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL];
-
- bool force = 6 [(google.api.field_behavior) = OPTIONAL];
- }
- message UpdateConnectionProfileRequest {
-
-
-
-
-
- google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL];
-
- ConnectionProfile connection_profile = 2 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
- bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL];
-
- bool force = 5 [(google.api.field_behavior) = OPTIONAL];
- }
- message DeleteConnectionProfileRequest {
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datastream.googleapis.com/ConnectionProfile"
- }
- ];
-
-
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 2 [(google.api.field_behavior) = OPTIONAL];
- }
- message ListStreamsRequest {
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "datastream.googleapis.com/Stream"
- }
- ];
-
-
-
- int32 page_size = 2;
-
-
-
-
-
- string page_token = 3;
-
- string filter = 4;
-
- string order_by = 5;
- }
- message ListStreamsResponse {
-
- repeated Stream streams = 1;
-
-
- string next_page_token = 2;
-
- repeated string unreachable = 3;
- }
- message GetStreamRequest {
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datastream.googleapis.com/Stream"
- }
- ];
- }
- message CreateStreamRequest {
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "datastream.googleapis.com/Stream"
- }
- ];
-
- string stream_id = 2 [(google.api.field_behavior) = REQUIRED];
-
- Stream stream = 3 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 4 [(google.api.field_behavior) = OPTIONAL];
-
-
- bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL];
-
- bool force = 6 [(google.api.field_behavior) = OPTIONAL];
- }
- message UpdateStreamRequest {
-
-
-
-
-
- google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL];
-
- Stream stream = 2 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
- bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL];
-
- bool force = 5 [(google.api.field_behavior) = OPTIONAL];
- }
- message DeleteStreamRequest {
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datastream.googleapis.com/Stream"
- }
- ];
-
-
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 2 [(google.api.field_behavior) = OPTIONAL];
- }
- message GetStreamObjectRequest {
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datastream.googleapis.com/StreamObject"
- }
- ];
- }
- message LookupStreamObjectRequest {
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datastream.googleapis.com/Stream"
- }
- ];
-
- SourceObjectIdentifier source_object_identifier = 2 [(google.api.field_behavior) = REQUIRED];
- }
- message StartBackfillJobRequest {
-
- string object = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datastream.googleapis.com/StreamObject"
- }
- ];
- }
- message StartBackfillJobResponse {
-
- StreamObject object = 1;
- }
- message StopBackfillJobRequest {
-
- string object = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datastream.googleapis.com/StreamObject"
- }
- ];
- }
- message StopBackfillJobResponse {
-
- StreamObject object = 1;
- }
- message ListStreamObjectsRequest {
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "datastream.googleapis.com/StreamObject"
- }
- ];
-
-
- int32 page_size = 2;
-
-
-
-
-
-
- string page_token = 3;
- }
- message ListStreamObjectsResponse {
-
- repeated StreamObject stream_objects = 1;
-
- string next_page_token = 2;
- }
- message OperationMetadata {
-
- google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- string status_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
-
- bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- ValidationResult validation_result = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message CreatePrivateConnectionRequest {
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "datastream.googleapis.com/PrivateConnection"
- }
- ];
-
- string private_connection_id = 2 [(google.api.field_behavior) = REQUIRED];
-
- PrivateConnection private_connection = 3 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 4 [(google.api.field_behavior) = OPTIONAL];
- }
- message ListPrivateConnectionsRequest {
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "datastream.googleapis.com/PrivateConnection"
- }
- ];
-
-
-
-
- int32 page_size = 2;
-
-
-
-
-
-
- string page_token = 3;
-
- string filter = 4;
-
- string order_by = 5;
- }
- message ListPrivateConnectionsResponse {
-
- repeated PrivateConnection private_connections = 1;
-
-
- string next_page_token = 2;
-
- repeated string unreachable = 3;
- }
- message DeletePrivateConnectionRequest {
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datastream.googleapis.com/PrivateConnection"
- }
- ];
-
-
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
- bool force = 3 [(google.api.field_behavior) = OPTIONAL];
- }
- message GetPrivateConnectionRequest {
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datastream.googleapis.com/PrivateConnection"
- }
- ];
- }
- message CreateRouteRequest {
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "datastream.googleapis.com/Route"
- }
- ];
-
- string route_id = 2 [(google.api.field_behavior) = REQUIRED];
-
- Route route = 3 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 4 [(google.api.field_behavior) = OPTIONAL];
- }
- message ListRoutesRequest {
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "datastream.googleapis.com/Route"
- }
- ];
-
-
-
-
- int32 page_size = 2;
-
-
-
-
-
-
- string page_token = 3;
-
- string filter = 4;
-
- string order_by = 5;
- }
- message ListRoutesResponse {
-
- repeated Route routes = 1;
-
-
- string next_page_token = 2;
-
- repeated string unreachable = 3;
- }
- message DeleteRouteRequest {
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datastream.googleapis.com/Route"
- }
- ];
-
-
-
-
-
-
-
-
-
-
-
-
-
- string request_id = 2 [(google.api.field_behavior) = OPTIONAL];
- }
- message GetRouteRequest {
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datastream.googleapis.com/Route"
- }
- ];
- }
|