UNPKG

@google-cloud/datastream

Version:
1,059 lines (1,058 loc) 332 kB
{ "nested": { "google": { "nested": { "cloud": { "nested": { "datastream": { "nested": { "v1": { "options": { "csharp_namespace": "Google.Cloud.Datastream.V1", "go_package": "cloud.google.com/go/datastream/apiv1/datastreampb;datastreampb", "java_multiple_files": true, "java_outer_classname": "DatastreamResourcesProto", "java_package": "com.google.cloud.datastream.v1", "php_namespace": "Google\\Cloud\\Datastream\\V1", "ruby_package": "Google::Cloud::Datastream::V1", "(google.api.resource_definition).type": "compute.googleapis.com/NetworkAttachment", "(google.api.resource_definition).pattern": "projects/{project}/regions/{region}/networkAttachments/{network_attachment}" }, "nested": { "Datastream": { "options": { "(google.api.default_host)": "datastream.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "ListConnectionProfiles": { "requestType": "ListConnectionProfilesRequest", "responseType": "ListConnectionProfilesResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*}/connectionProfiles", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*}/connectionProfiles" } }, { "(google.api.method_signature)": "parent" } ] }, "GetConnectionProfile": { "requestType": "GetConnectionProfileRequest", "responseType": "ConnectionProfile", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/connectionProfiles/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/connectionProfiles/*}" } }, { "(google.api.method_signature)": "name" } ] }, "CreateConnectionProfile": { "requestType": "CreateConnectionProfileRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/connectionProfiles", "(google.api.http).body": "connection_profile", "(google.api.method_signature)": "parent,connection_profile,connection_profile_id", "(google.longrunning.operation_info).response_type": "ConnectionProfile", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/connectionProfiles", "body": "connection_profile" } }, { "(google.api.method_signature)": "parent,connection_profile,connection_profile_id" }, { "(google.longrunning.operation_info)": { "response_type": "ConnectionProfile", "metadata_type": "OperationMetadata" } } ] }, "UpdateConnectionProfile": { "requestType": "UpdateConnectionProfileRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).patch": "/v1/{connection_profile.name=projects/*/locations/*/connectionProfiles/*}", "(google.api.http).body": "connection_profile", "(google.api.method_signature)": "connection_profile,update_mask", "(google.longrunning.operation_info).response_type": "ConnectionProfile", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{connection_profile.name=projects/*/locations/*/connectionProfiles/*}", "body": "connection_profile" } }, { "(google.api.method_signature)": "connection_profile,update_mask" }, { "(google.longrunning.operation_info)": { "response_type": "ConnectionProfile", "metadata_type": "OperationMetadata" } } ] }, "DeleteConnectionProfile": { "requestType": "DeleteConnectionProfileRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/connectionProfiles/*}", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "google.protobuf.Empty", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/connectionProfiles/*}" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "google.protobuf.Empty", "metadata_type": "OperationMetadata" } } ] }, "DiscoverConnectionProfile": { "requestType": "DiscoverConnectionProfileRequest", "responseType": "DiscoverConnectionProfileResponse", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/connectionProfiles:discover", "(google.api.http).body": "*" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/connectionProfiles:discover", "body": "*" } } ] }, "ListStreams": { "requestType": "ListStreamsRequest", "responseType": "ListStreamsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*}/streams", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*}/streams" } }, { "(google.api.method_signature)": "parent" } ] }, "GetStream": { "requestType": "GetStreamRequest", "responseType": "Stream", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/streams/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/streams/*}" } }, { "(google.api.method_signature)": "name" } ] }, "CreateStream": { "requestType": "CreateStreamRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/streams", "(google.api.http).body": "stream", "(google.api.method_signature)": "parent,stream,stream_id", "(google.longrunning.operation_info).response_type": "Stream", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/streams", "body": "stream" } }, { "(google.api.method_signature)": "parent,stream,stream_id" }, { "(google.longrunning.operation_info)": { "response_type": "Stream", "metadata_type": "OperationMetadata" } } ] }, "UpdateStream": { "requestType": "UpdateStreamRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).patch": "/v1/{stream.name=projects/*/locations/*/streams/*}", "(google.api.http).body": "stream", "(google.api.method_signature)": "stream,update_mask", "(google.longrunning.operation_info).response_type": "Stream", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{stream.name=projects/*/locations/*/streams/*}", "body": "stream" } }, { "(google.api.method_signature)": "stream,update_mask" }, { "(google.longrunning.operation_info)": { "response_type": "Stream", "metadata_type": "OperationMetadata" } } ] }, "DeleteStream": { "requestType": "DeleteStreamRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/streams/*}", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "google.protobuf.Empty", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/streams/*}" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "google.protobuf.Empty", "metadata_type": "OperationMetadata" } } ] }, "RunStream": { "requestType": "RunStreamRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{name=projects/*/locations/*/streams/*}:run", "(google.api.http).body": "*", "(google.longrunning.operation_info).response_type": "Stream", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{name=projects/*/locations/*/streams/*}:run", "body": "*" } }, { "(google.longrunning.operation_info)": { "response_type": "Stream", "metadata_type": "OperationMetadata" } } ] }, "GetStreamObject": { "requestType": "GetStreamObjectRequest", "responseType": "StreamObject", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/streams/*/objects/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/streams/*/objects/*}" } }, { "(google.api.method_signature)": "name" } ] }, "LookupStreamObject": { "requestType": "LookupStreamObjectRequest", "responseType": "StreamObject", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*/streams/*}/objects:lookup", "(google.api.http).body": "*" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*/streams/*}/objects:lookup", "body": "*" } } ] }, "ListStreamObjects": { "requestType": "ListStreamObjectsRequest", "responseType": "ListStreamObjectsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*/streams/*}/objects", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*/streams/*}/objects" } }, { "(google.api.method_signature)": "parent" } ] }, "StartBackfillJob": { "requestType": "StartBackfillJobRequest", "responseType": "StartBackfillJobResponse", "options": { "(google.api.http).post": "/v1/{object=projects/*/locations/*/streams/*/objects/*}:startBackfillJob", "(google.api.http).body": "*", "(google.api.method_signature)": "object" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{object=projects/*/locations/*/streams/*/objects/*}:startBackfillJob", "body": "*" } }, { "(google.api.method_signature)": "object" } ] }, "StopBackfillJob": { "requestType": "StopBackfillJobRequest", "responseType": "StopBackfillJobResponse", "options": { "(google.api.http).post": "/v1/{object=projects/*/locations/*/streams/*/objects/*}:stopBackfillJob", "(google.api.http).body": "*", "(google.api.method_signature)": "object" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{object=projects/*/locations/*/streams/*/objects/*}:stopBackfillJob", "body": "*" } }, { "(google.api.method_signature)": "object" } ] }, "FetchStaticIps": { "requestType": "FetchStaticIpsRequest", "responseType": "FetchStaticIpsResponse", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*}:fetchStaticIps", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*}:fetchStaticIps" } }, { "(google.api.method_signature)": "name" } ] }, "CreatePrivateConnection": { "requestType": "CreatePrivateConnectionRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/privateConnections", "(google.api.http).body": "private_connection", "(google.api.method_signature)": "parent,private_connection,private_connection_id", "(google.longrunning.operation_info).response_type": "PrivateConnection", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/privateConnections", "body": "private_connection" } }, { "(google.api.method_signature)": "parent,private_connection,private_connection_id" }, { "(google.longrunning.operation_info)": { "response_type": "PrivateConnection", "metadata_type": "OperationMetadata" } } ] }, "GetPrivateConnection": { "requestType": "GetPrivateConnectionRequest", "responseType": "PrivateConnection", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/privateConnections/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/privateConnections/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListPrivateConnections": { "requestType": "ListPrivateConnectionsRequest", "responseType": "ListPrivateConnectionsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*}/privateConnections", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*}/privateConnections" } }, { "(google.api.method_signature)": "parent" } ] }, "DeletePrivateConnection": { "requestType": "DeletePrivateConnectionRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/privateConnections/*}", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "google.protobuf.Empty", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/privateConnections/*}" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "google.protobuf.Empty", "metadata_type": "OperationMetadata" } } ] }, "CreateRoute": { "requestType": "CreateRouteRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*/privateConnections/*}/routes", "(google.api.http).body": "route", "(google.api.method_signature)": "parent,route,route_id", "(google.longrunning.operation_info).response_type": "Route", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*/privateConnections/*}/routes", "body": "route" } }, { "(google.api.method_signature)": "parent,route,route_id" }, { "(google.longrunning.operation_info)": { "response_type": "Route", "metadata_type": "OperationMetadata" } } ] }, "GetRoute": { "requestType": "GetRouteRequest", "responseType": "Route", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/privateConnections/*/routes/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/privateConnections/*/routes/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListRoutes": { "requestType": "ListRoutesRequest", "responseType": "ListRoutesResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*/privateConnections/*}/routes", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*/privateConnections/*}/routes" } }, { "(google.api.method_signature)": "parent" } ] }, "DeleteRoute": { "requestType": "DeleteRouteRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/privateConnections/*/routes/*}", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "google.protobuf.Empty", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/privateConnections/*/routes/*}" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "google.protobuf.Empty", "metadata_type": "OperationMetadata" } } ] } } }, "DiscoverConnectionProfileRequest": { "oneofs": { "target": { "oneof": [ "connectionProfile", "connectionProfileName" ] }, "hierarchy": { "oneof": [ "fullHierarchy", "hierarchyDepth" ] }, "dataObject": { "oneof": [ "oracleRdbms", "mysqlRdbms", "postgresqlRdbms", "sqlServerRdbms", "salesforceOrg", "mongodbCluster" ] } }, "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "datastream.googleapis.com/ConnectionProfile" } }, "connectionProfile": { "type": "ConnectionProfile", "id": 200 }, "connectionProfileName": { "type": "string", "id": 201 }, "fullHierarchy": { "type": "bool", "id": 3 }, "hierarchyDepth": { "type": "int32", "id": 4 }, "oracleRdbms": { "type": "OracleRdbms", "id": 100 }, "mysqlRdbms": { "type": "MysqlRdbms", "id": 101 }, "postgresqlRdbms": { "type": "PostgresqlRdbms", "id": 102 }, "sqlServerRdbms": { "type": "SqlServerRdbms", "id": 103 }, "salesforceOrg": { "type": "SalesforceOrg", "id": 104 }, "mongodbCluster": { "type": "MongodbCluster", "id": 105 } } }, "DiscoverConnectionProfileResponse": { "oneofs": { "dataObject": { "oneof": [ "oracleRdbms", "mysqlRdbms", "postgresqlRdbms", "sqlServerRdbms", "salesforceOrg", "mongodbCluster" ] } }, "fields": { "oracleRdbms": { "type": "OracleRdbms", "id": 100 }, "mysqlRdbms": { "type": "MysqlRdbms", "id": 101 }, "postgresqlRdbms": { "type": "PostgresqlRdbms", "id": 102 }, "sqlServerRdbms": { "type": "SqlServerRdbms", "id": 103 }, "salesforceOrg": { "type": "SalesforceOrg", "id": 104 }, "mongodbCluster": { "type": "MongodbCluster", "id": 105 } } }, "FetchStaticIpsRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "locations.googleapis.com/Location" } }, "pageSize": { "type": "int32", "id": 2 }, "pageToken": { "type": "string", "id": 3 } } }, "FetchStaticIpsResponse": { "fields": { "staticIps": { "rule": "repeated", "type": "string", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 } } }, "ListConnectionProfilesRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "datastream.googleapis.com/ConnectionProfile" } }, "pageSize": { "type": "int32", "id": 2 }, "pageToken": { "type": "string", "id": 3 }, "filter": { "type": "string", "id": 4 }, "orderBy": { "type": "string", "id": 5 } } }, "ListConnectionProfilesResponse": { "fields": { "connectionProfiles": { "rule": "repeated", "type": "ConnectionProfile", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 }, "unreachable": { "rule": "repeated", "type": "string", "id": 3 } } }, "GetConnectionProfileRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "datastream.googleapis.com/ConnectionProfile" } } } }, "CreateConnectionProfileRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "datastream.googleapis.com/ConnectionProfile" } }, "connectionProfileId": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "connectionProfile": { "type": "ConnectionProfile", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "requestId": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "validateOnly": { "type": "bool", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "force": { "type": "bool", "id": 6, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "UpdateConnectionProfileRequest": { "fields": { "updateMask": { "type": "google.protobuf.FieldMask", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "connectionProfile": { "type": "ConnectionProfile", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "requestId": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "validateOnly": { "type": "bool", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "force": { "type": "bool", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "DeleteConnectionProfileRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "datastream.googleapis.com/ConnectionProfile" } }, "requestId": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "ListStreamsRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "datastream.googleapis.com/Stream" } }, "pageSize": { "type": "int32", "id": 2 }, "pageToken": { "type": "string", "id": 3 }, "filter": { "type": "string", "id": 4 }, "orderBy": { "type": "string", "id": 5 } } }, "ListStreamsResponse": { "fields": { "streams": { "rule": "repeated", "type": "Stream", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 }, "unreachable": { "rule": "repeated", "type": "string", "id": 3 } } }, "GetStreamRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "datastream.googleapis.com/Stream" } } } }, "CreateStreamRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "datastream.googleapis.com/Stream" } }, "streamId": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "stream": { "type": "Stream", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "requestId": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "validateOnly": { "type": "bool", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "force": { "type": "bool", "id": 6, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "UpdateStreamRequest": { "fields": { "updateMask": { "type": "google.protobuf.FieldMask", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "stream": { "type": "Stream", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "requestId": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "validateOnly": { "type": "bool", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "force": { "type": "bool", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "DeleteStreamRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED",