@google-cloud/lineage
Version:
Data Lineage API client for Node.js
1,045 lines • 117 kB
JSON
{
"nested": {
"google": {
"nested": {
"cloud": {
"nested": {
"datacatalog": {
"nested": {
"lineage": {
"nested": {
"v1": {
"options": {
"csharp_namespace": "Google.Cloud.DataCatalog.Lineage.V1",
"go_package": "cloud.google.com/go/datacatalog/lineage/apiv1/lineagepb;lineagepb",
"java_multiple_files": true,
"java_outer_classname": "LineageProto",
"java_package": "com.google.cloud.datacatalog.lineage.v1",
"php_namespace": "Google\\Cloud\\DataCatalog\\Lineage\\V1",
"ruby_package": "Google::Cloud::DataCatalog::Lineage::V1"
},
"nested": {
"Lineage": {
"options": {
"(google.api.default_host)": "datalineage.googleapis.com",
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
},
"methods": {
"ProcessOpenLineageRunEvent": {
"requestType": "ProcessOpenLineageRunEventRequest",
"responseType": "ProcessOpenLineageRunEventResponse",
"options": {
"(google.api.http).post": "/v1/{parent=projects/*/locations/*}:processOpenLineageRunEvent",
"(google.api.http).body": "open_lineage",
"(google.api.method_signature)": "parent,open_lineage"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{parent=projects/*/locations/*}:processOpenLineageRunEvent",
"body": "open_lineage"
}
},
{
"(google.api.method_signature)": "parent,open_lineage"
}
]
},
"CreateProcess": {
"requestType": "CreateProcessRequest",
"responseType": "Process",
"options": {
"(google.api.http).post": "/v1/{parent=projects/*/locations/*}/processes",
"(google.api.http).body": "process",
"(google.api.method_signature)": "parent,process"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{parent=projects/*/locations/*}/processes",
"body": "process"
}
},
{
"(google.api.method_signature)": "parent,process"
}
]
},
"UpdateProcess": {
"requestType": "UpdateProcessRequest",
"responseType": "Process",
"options": {
"(google.api.http).patch": "/v1/{process.name=projects/*/locations/*/processes/*}",
"(google.api.http).body": "process",
"(google.api.method_signature)": "process,update_mask"
},
"parsedOptions": [
{
"(google.api.http)": {
"patch": "/v1/{process.name=projects/*/locations/*/processes/*}",
"body": "process"
}
},
{
"(google.api.method_signature)": "process,update_mask"
}
]
},
"GetProcess": {
"requestType": "GetProcessRequest",
"responseType": "Process",
"options": {
"(google.api.http).get": "/v1/{name=projects/*/locations/*/processes/*}",
"(google.api.method_signature)": "name"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{name=projects/*/locations/*/processes/*}"
}
},
{
"(google.api.method_signature)": "name"
}
]
},
"ListProcesses": {
"requestType": "ListProcessesRequest",
"responseType": "ListProcessesResponse",
"options": {
"(google.api.http).get": "/v1/{parent=projects/*/locations/*}/processes",
"(google.api.method_signature)": "parent"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{parent=projects/*/locations/*}/processes"
}
},
{
"(google.api.method_signature)": "parent"
}
]
},
"DeleteProcess": {
"requestType": "DeleteProcessRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).delete": "/v1/{name=projects/*/locations/*/processes/*}",
"(google.api.method_signature)": "name",
"(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
"(google.longrunning.operation_info).metadata_type": "google.cloud.datacatalog.lineage.v1.OperationMetadata"
},
"parsedOptions": [
{
"(google.api.http)": {
"delete": "/v1/{name=projects/*/locations/*/processes/*}"
}
},
{
"(google.api.method_signature)": "name"
},
{
"(google.longrunning.operation_info)": {
"response_type": "google.protobuf.Empty",
"metadata_type": "google.cloud.datacatalog.lineage.v1.OperationMetadata"
}
}
]
},
"CreateRun": {
"requestType": "CreateRunRequest",
"responseType": "Run",
"options": {
"(google.api.http).post": "/v1/{parent=projects/*/locations/*/processes/*}/runs",
"(google.api.http).body": "run",
"(google.api.method_signature)": "parent,run"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{parent=projects/*/locations/*/processes/*}/runs",
"body": "run"
}
},
{
"(google.api.method_signature)": "parent,run"
}
]
},
"UpdateRun": {
"requestType": "UpdateRunRequest",
"responseType": "Run",
"options": {
"(google.api.http).patch": "/v1/{run.name=projects/*/locations/*/processes/*/runs/*}",
"(google.api.http).body": "run",
"(google.api.method_signature)": "run,update_mask"
},
"parsedOptions": [
{
"(google.api.http)": {
"patch": "/v1/{run.name=projects/*/locations/*/processes/*/runs/*}",
"body": "run"
}
},
{
"(google.api.method_signature)": "run,update_mask"
}
]
},
"GetRun": {
"requestType": "GetRunRequest",
"responseType": "Run",
"options": {
"(google.api.http).get": "/v1/{name=projects/*/locations/*/processes/*/runs/*}",
"(google.api.method_signature)": "name"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{name=projects/*/locations/*/processes/*/runs/*}"
}
},
{
"(google.api.method_signature)": "name"
}
]
},
"ListRuns": {
"requestType": "ListRunsRequest",
"responseType": "ListRunsResponse",
"options": {
"(google.api.http).get": "/v1/{parent=projects/*/locations/*/processes/*}/runs",
"(google.api.method_signature)": "parent"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{parent=projects/*/locations/*/processes/*}/runs"
}
},
{
"(google.api.method_signature)": "parent"
}
]
},
"DeleteRun": {
"requestType": "DeleteRunRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).delete": "/v1/{name=projects/*/locations/*/processes/*/runs/*}",
"(google.api.method_signature)": "name",
"(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
"(google.longrunning.operation_info).metadata_type": "google.cloud.datacatalog.lineage.v1.OperationMetadata"
},
"parsedOptions": [
{
"(google.api.http)": {
"delete": "/v1/{name=projects/*/locations/*/processes/*/runs/*}"
}
},
{
"(google.api.method_signature)": "name"
},
{
"(google.longrunning.operation_info)": {
"response_type": "google.protobuf.Empty",
"metadata_type": "google.cloud.datacatalog.lineage.v1.OperationMetadata"
}
}
]
},
"CreateLineageEvent": {
"requestType": "CreateLineageEventRequest",
"responseType": "LineageEvent",
"options": {
"(google.api.http).post": "/v1/{parent=projects/*/locations/*/processes/*/runs/*}/lineageEvents",
"(google.api.http).body": "lineage_event",
"(google.api.method_signature)": "parent,lineage_event"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{parent=projects/*/locations/*/processes/*/runs/*}/lineageEvents",
"body": "lineage_event"
}
},
{
"(google.api.method_signature)": "parent,lineage_event"
}
]
},
"GetLineageEvent": {
"requestType": "GetLineageEventRequest",
"responseType": "LineageEvent",
"options": {
"(google.api.http).get": "/v1/{name=projects/*/locations/*/processes/*/runs/*/lineageEvents/*}",
"(google.api.method_signature)": "name"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{name=projects/*/locations/*/processes/*/runs/*/lineageEvents/*}"
}
},
{
"(google.api.method_signature)": "name"
}
]
},
"ListLineageEvents": {
"requestType": "ListLineageEventsRequest",
"responseType": "ListLineageEventsResponse",
"options": {
"(google.api.http).get": "/v1/{parent=projects/*/locations/*/processes/*/runs/*}/lineageEvents",
"(google.api.method_signature)": "parent"
},
"parsedOptions": [
{
"(google.api.http)": {
"get": "/v1/{parent=projects/*/locations/*/processes/*/runs/*}/lineageEvents"
}
},
{
"(google.api.method_signature)": "parent"
}
]
},
"DeleteLineageEvent": {
"requestType": "DeleteLineageEventRequest",
"responseType": "google.protobuf.Empty",
"options": {
"(google.api.http).delete": "/v1/{name=projects/*/locations/*/processes/*/runs/*/lineageEvents/*}",
"(google.api.method_signature)": "name"
},
"parsedOptions": [
{
"(google.api.http)": {
"delete": "/v1/{name=projects/*/locations/*/processes/*/runs/*/lineageEvents/*}"
}
},
{
"(google.api.method_signature)": "name"
}
]
},
"SearchLinks": {
"requestType": "SearchLinksRequest",
"responseType": "SearchLinksResponse",
"options": {
"(google.api.http).post": "/v1/{parent=projects/*/locations/*}:searchLinks",
"(google.api.http).body": "*"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{parent=projects/*/locations/*}:searchLinks",
"body": "*"
}
}
]
},
"BatchSearchLinkProcesses": {
"requestType": "BatchSearchLinkProcessesRequest",
"responseType": "BatchSearchLinkProcessesResponse",
"options": {
"(google.api.http).post": "/v1/{parent=projects/*/locations/*}:batchSearchLinkProcesses",
"(google.api.http).body": "*"
},
"parsedOptions": [
{
"(google.api.http)": {
"post": "/v1/{parent=projects/*/locations/*}:batchSearchLinkProcesses",
"body": "*"
}
}
]
}
}
},
"Process": {
"options": {
"(google.api.resource).type": "datalineage.googleapis.com/Process",
"(google.api.resource).pattern": "projects/{project}/locations/{location}/processes/{process}"
},
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "IMMUTABLE"
}
},
"displayName": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"attributes": {
"keyType": "string",
"type": "google.protobuf.Value",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"origin": {
"type": "Origin",
"id": 4,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"Run": {
"options": {
"(google.api.resource).type": "datalineage.googleapis.com/Run",
"(google.api.resource).pattern": "projects/{project}/locations/{location}/processes/{process}/runs/{run}"
},
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "IMMUTABLE"
}
},
"displayName": {
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"attributes": {
"keyType": "string",
"type": "google.protobuf.Value",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"startTime": {
"type": "google.protobuf.Timestamp",
"id": 4,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"endTime": {
"type": "google.protobuf.Timestamp",
"id": 5,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"state": {
"type": "State",
"id": 6,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
},
"nested": {
"State": {
"values": {
"UNKNOWN": 0,
"STARTED": 1,
"COMPLETED": 2,
"FAILED": 3,
"ABORTED": 4
}
}
}
},
"LineageEvent": {
"options": {
"(google.api.resource).type": "datalineage.googleapis.com/LineageEvent",
"(google.api.resource).pattern": "projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}"
},
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "IMMUTABLE"
}
},
"links": {
"rule": "repeated",
"type": "EventLink",
"id": 8,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"startTime": {
"type": "google.protobuf.Timestamp",
"id": 6,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"endTime": {
"type": "google.protobuf.Timestamp",
"id": 7,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"EventLink": {
"fields": {
"source": {
"type": "EntityReference",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"target": {
"type": "EntityReference",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"EntityReference": {
"fields": {
"fullyQualifiedName": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
}
}
},
"OperationMetadata": {
"fields": {
"state": {
"type": "State",
"id": 1,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"operationType": {
"type": "Type",
"id": 2,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"resource": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"resourceUuid": {
"type": "string",
"id": 4,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"createTime": {
"type": "google.protobuf.Timestamp",
"id": 5,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"endTime": {
"type": "google.protobuf.Timestamp",
"id": 6,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
}
},
"nested": {
"State": {
"values": {
"STATE_UNSPECIFIED": 0,
"PENDING": 1,
"RUNNING": 2,
"SUCCEEDED": 3,
"FAILED": 4
}
},
"Type": {
"values": {
"TYPE_UNSPECIFIED": 0,
"DELETE": 1,
"CREATE": 2
}
}
}
},
"ProcessOpenLineageRunEventRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"openLineage": {
"type": "google.protobuf.Struct",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"requestId": {
"type": "string",
"id": 3
}
}
},
"ProcessOpenLineageRunEventResponse": {
"fields": {
"process": {
"type": "string",
"id": 1,
"options": {
"(google.api.resource_reference).type": "datalineage.googleapis.com/Process"
}
},
"run": {
"type": "string",
"id": 2,
"options": {
"(google.api.resource_reference).type": "datalineage.googleapis.com/Run"
}
},
"lineageEvents": {
"rule": "repeated",
"type": "string",
"id": 3,
"options": {
"(google.api.resource_reference).type": "datalineage.googleapis.com/LineageEvent"
}
}
}
},
"CreateProcessRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "datalineage.googleapis.com/Process"
}
},
"process": {
"type": "Process",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"requestId": {
"type": "string",
"id": 3
}
}
},
"UpdateProcessRequest": {
"fields": {
"process": {
"type": "Process",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"updateMask": {
"type": "google.protobuf.FieldMask",
"id": 2
},
"allowMissing": {
"type": "bool",
"id": 3
}
}
},
"GetProcessRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "datalineage.googleapis.com/Process"
}
}
}
},
"ListProcessesRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "datalineage.googleapis.com/Process"
}
},
"pageSize": {
"type": "int32",
"id": 2
},
"pageToken": {
"type": "string",
"id": 3
}
}
},
"ListProcessesResponse": {
"fields": {
"processes": {
"rule": "repeated",
"type": "Process",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"DeleteProcessRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "datalineage.googleapis.com/Process"
}
},
"allowMissing": {
"type": "bool",
"id": 2
}
}
},
"CreateRunRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "datalineage.googleapis.com/Run"
}
},
"run": {
"type": "Run",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"requestId": {
"type": "string",
"id": 3
}
}
},
"UpdateRunRequest": {
"fields": {
"run": {
"type": "Run",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"updateMask": {
"type": "google.protobuf.FieldMask",
"id": 2
},
"allowMissing": {
"type": "bool",
"id": 3
}
}
},
"GetRunRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "datalineage.googleapis.com/Run"
}
}
}
},
"ListRunsRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "datalineage.googleapis.com/Run"
}
},
"pageSize": {
"type": "int32",
"id": 2
},
"pageToken": {
"type": "string",
"id": 3
}
}
},
"ListRunsResponse": {
"fields": {
"runs": {
"rule": "repeated",
"type": "Run",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"DeleteRunRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "datalineage.googleapis.com/Run"
}
},
"allowMissing": {
"type": "bool",
"id": 2
}
}
},
"CreateLineageEventRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "datalineage.googleapis.com/LineageEvent"
}
},
"lineageEvent": {
"type": "LineageEvent",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"requestId": {
"type": "string",
"id": 3
}
}
},
"GetLineageEventRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "datalineage.googleapis.com/LineageEvent"
}
}
}
},
"ListLineageEventsRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "datalineage.googleapis.com/LineageEvent"
}
},
"pageSize": {
"type": "int32",
"id": 2
},
"pageToken": {
"type": "string",
"id": 3
}
}
},
"ListLineageEventsResponse": {
"fields": {
"lineageEvents": {
"rule": "repeated",
"type": "LineageEvent",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"DeleteLineageEventRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "datalineage.googleapis.com/LineageEvent"
}
},
"allowMissing": {
"type": "bool",
"id": 2
}
}
},
"SearchLinksRequest": {
"oneofs": {
"criteria": {
"oneof": [
"source",
"target"
]
}
},
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "datalineage.googleapis.com/Process"
}
},
"source": {
"type": "EntityReference",
"id": 4,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"target": {
"type": "EntityReference",
"id": 5,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"pageSize": {
"type": "int32",
"id": 2,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
},
"pageToken": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "OPTIONAL"
}
}
}
},
"SearchLinksResponse": {
"fields": {
"links": {
"rule": "repeated",
"type": "Link",
"id": 1
},
"nextPageToken": {
"type": "string",
"id": 2
}
}
},
"Link": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "IMMUTABLE"
}
},
"source": {
"type": "EntityReference",
"id": 2
},
"target": {
"type": "EntityReference",
"id": 3
},
"startTime": {
"type": "google.protobuf.Timestamp",
"id": 4
},
"endTime": {
"type": "google.protobuf.Timestamp",
"id": 5
}
}
},
"BatchSearchLinkProcessesRequest": {
"fields": {
"parent": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "datalineage.googleapis.com/Process"
}
},
"links": {
"rule": "repeated",
"type": "string",
"id": 2,
"options": {
"(google.api.field_behavior)": "REQUIRED"
}
},
"pageSize": {
"type": "int32",
"id": 3
},
"pageToken": {
"type": "string",
"id": 4
}
}
},
"BatchSearchLinkProcessesResponse": {
"fields": {
"processLink