{ "ownerDomain": "google.com", "name": "bigquerydatatransfer", "batchPath": "batch", "title": "BigQuery Data Transfer Service API", "ownerName": "Google", "resources": { "projects": { "methods": { "isEnabled": { "response": { "$ref": "IsEnabledResponse" }, "parameterOrder": [ "name" ], "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { "name": { "description": "The name of the project resource in the form:\n`projects/{project_id}`", "type": "string", "required": true, "pattern": "^projects/[^/]+$", "location": "path" } }, "flatPath": "v1/projects/{projectsId}:isEnabled", "id": "bigquerydatatransfer.projects.isEnabled", "path": "v1/{+name}:isEnabled", "request": { "$ref": "IsEnabledRequest" }, "description": "Returns true if data transfer is enabled for a project." }, "setEnabled": { "id": "bigquerydatatransfer.projects.setEnabled", "path": "v1/{+name}:setEnabled", "description": "Enables or disables data transfer for a project. This\nmethod requires the additional scope of\n'https://www.googleapis.com/auth/cloudplatformprojects'\nto manage the cloud project permissions.", "request": { "$ref": "SetEnabledRequest" }, "response": { "$ref": "Empty" }, "parameterOrder": [ "name" ], "httpMethod": "POST", "parameters": { "name": { "description": "The name of the project resource in the form:\n`projects/{project_id}`", "type": "string", "required": true, "pattern": "^projects/[^/]+$", "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "flatPath": "v1/projects/{projectsId}:setEnabled" } }, "resources": { "transferConfigs": { "methods": { "create": { "request": { "$ref": "TransferConfig" }, "description": "Creates a new data transfer configuration.", "httpMethod": "POST", "parameterOrder": [ "parent" ], "response": { "$ref": "TransferConfig" }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "parent": { "description": "The BigQuery project id where the transfer configuration should be created.\nMust be in the format /projects/{project_id}/locations/{location_id}\nor\n/projects/{project_id}/locations/-\nIn case when '-' is specified as location_id, location is infered from\nthe destination dataset region.", "type": "string", "required": true, "pattern": "^projects/[^/]+$", "location": "path" }, "authorizationCode": { "location": "query", "description": "Optional OAuth2 authorization code to use with this transfer configuration.\nThis is required if new credentials are needed, as indicated by\n`CheckValidCreds`.\nIn order to obtain authorization_code, please make a\nrequest to\nhttps://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=\u003cdatatransferapiclientid\u003e&scope=\u003cdata_source_scopes\u003e&redirect_uri=\u003credirect_uri\u003e\n\n* client_id should be OAuth client_id of BigQuery DTS API for the given\n data source returned by ListDataSources method.\n* data_source_scopes are the scopes returned by ListDataSources method.\n* redirect_uri is an optional parameter. If not specified, then\n authorization code is posted to the opener of authorization flow window.\n Otherwise it will be sent to the redirect uri. A special value of\n urn:ietf:wg:oauth:2.0:oob means that authorization code should be\n returned in the title bar of the browser, with the page text prompting\n the user to copy the code and paste it in the application.", "type": "string" } }, "flatPath": "v1/projects/{projectsId}/transferConfigs", "path": "v1/{+parent}/transferConfigs", "id": "bigquerydatatransfer.projects.transferConfigs.create" }, "scheduleRuns": { "description": "Creates transfer runs for a time range [range_start_time, range_end_time].\nFor each date - or whatever granularity the data source supports - in the\nrange, one transfer run is created.\nNote that runs are created per UTC time in the time range.", "request": { "$ref": "ScheduleTransferRunsRequest" }, "response": { "$ref": "ScheduleTransferRunsResponse" }, "parameterOrder": [ "parent" ], "httpMethod": "POST", "parameters": { "parent": { "pattern": "^projects/[^/]+/transferConfigs/[^/]+$", "location": "path", "description": "Transfer configuration name in the form:\n`projects/{project_id}/transferConfigs/{config_id}`.", "type": "string", "required": true } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ], "flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}:scheduleRuns", "id": "bigquerydatatransfer.projects.transferConfigs.scheduleRuns", "path": "v1/{+parent}:scheduleRuns" }, "get": { "response": { "$ref": "TransferConfig" }, "parameterOrder": [ "name" ], "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { "name": { "pattern": "^projects/[^/]+/transferConfigs/[^/]+$", "location": "path", "description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}`", "type": "string", "required": true } }, "flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}", "id": "bigquerydatatransfer.projects.transferConfigs.get", "path": "v1/{+name}", "description": "Returns information about a data transfer config." }, "patch": { "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "name": { "description": "The resource name of the transfer run.\nTransfer run names have the form\n`projects/{project_id}/transferConfigs/{config_id}`.\nWhere `config_id` is usually a uuid, even though it is not\nguaranteed or required. The name is ignored when creating a transfer run.", "type": "string", "required": true, "pattern": "^projects/[^/]+/transferConfigs/[^/]+$", "location": "path" }, "authorizationCode": { "location": "query", "description": "Optional OAuth2 authorization code to use with this transfer configuration.\nIf it is provided, the transfer configuration will be associated with the\ngaia id of the authorizing user.\nIn order to obtain authorization_code, please make a\nrequest to\nhttps://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=\u003cdatatransferapiclientid\u003e&scope=\u003cdata_source_scopes\u003e&redirect_uri=\u003credirect_uri\u003e\n\n* client_id should be OAuth client_id of BigQuery DTS API for the given\n data source returned by ListDataSources method.\n* data_source_scopes are the scopes returned by ListDataSources method.\n* redirect_uri is an optional parameter. If not specified, then\n authorization code is posted to the opener of authorization flow window.\n Otherwise it will be sent to the redirect uri. A special value of\n urn:ietf:wg:oauth:2.0:oob means that authorization code should be\n returned in the title bar of the browser, with the page text prompting\n the user to copy the code and paste it in the application.", "type": "string" }, "updateMask": { "location": "query", "format": "google-fieldmask", "description": "Required list of fields to be updated in this request.", "type": "string" } }, "flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}", "path": "v1/{+name}", "id": "bigquerydatatransfer.projects.transferConfigs.patch", "request": { "$ref": "TransferConfig" }, "description": "Updates a data transfer configuration.\nAll fields must be set, even if they are not updated.", "httpMethod": "PATCH", "parameterOrder": [ "name" ], "response": { "$ref": "TransferConfig" } }, "delete": { "httpMethod": "DELETE", "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "name": { "description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}`", "type": "string", "required": true, "pattern": "^projects/[^/]+/transferConfigs/[^/]+$", "location": "path" } }, "flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}", "path": "v1/{+name}", "id": "bigquerydatatransfer.projects.transferConfigs.delete", "description": "Deletes a data transfer configuration,\nincluding any associated transfer runs and logs." }, "list": { "response": { "$ref": "ListTransferConfigsResponse" }, "parameterOrder": [ "parent" ], "httpMethod": "GET", "parameters": { "dataSourceIds": { "description": "When specified, only configurations of requested data sources are returned.", "type": "string", "repeated": true, "location": "query" }, "parent": { "pattern": "^projects/[^/]+$", "location": "path", "description": "The BigQuery project id for which data sources\nshould be returned: `projects/{project_id}`.", "type": "string", "required": true }, "pageToken": { "location": "query", "description": "Pagination token, which can be used to request a specific page\nof `ListTransfersRequest` list results. For multiple-page\nresults, `ListTransfersResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.", "type": "string" }, "pageSize": { "format": "int32", "description": "Page size. The default page size is the maximum value of 1000 results.", "type": "integer", "location": "query" } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{projectsId}/transferConfigs", "id": "bigquerydatatransfer.projects.transferConfigs.list", "path": "v1/{+parent}/transferConfigs", "description": "Returns information about all data transfers in the project." } }, "resources": { "runs": { "methods": { "delete": { "id": "bigquerydatatransfer.projects.transferConfigs.runs.delete", "path": "v1/{+name}", "description": "Deletes the specified transfer run.", "response": { "$ref": "Empty" }, "parameterOrder": [ "name" ], "httpMethod": "DELETE", "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "name": { "description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`", "type": "string", "required": true, "pattern": "^projects/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", "location": "path" } }, "flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}/runs/{runsId}" }, "list": { "path": "v1/{+parent}/runs", "id": "bigquerydatatransfer.projects.transferConfigs.runs.list", "description": "Returns information about running and completed jobs.", "httpMethod": "GET", "parameterOrder": [ "parent" ], "response": { "$ref": "ListTransferRunsResponse" }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { "parent": { "description": "Name of transfer configuration for which transfer runs should be retrieved.\nFormat of transfer configuration resource name is:\n`projects/{project_id}/transferConfigs/{config_id}`.", "type": "string", "required": true, "pattern": "^projects/[^/]+/transferConfigs/[^/]+$", "location": "path" }, "pageToken": { "description": "Pagination token, which can be used to request a specific page\nof `ListTransferRunsRequest` list results. For multiple-page\nresults, `ListTransferRunsResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.", "type": "string", "location": "query" }, "pageSize": { "location": "query", "format": "int32", "description": "Page size. The default page size is the maximum value of 1000 results.", "type": "integer" }, "states": { "repeated": true, "location": "query", "enum": [ "TRANSFER_STATE_UNSPECIFIED", "INACTIVE", "PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED" ], "description": "When specified, only transfer runs with requested states are returned.", "type": "string" }, "runAttempt": { "description": "Indicates how run attempts are to be pulled.", "type": "string", "location": "query", "enum": [ "RUN_ATTEMPT_UNSPECIFIED", "LATEST" ] } }, "flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}/runs" }, "get": { "parameters": { "name": { "description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`", "type": "string", "required": true, "pattern": "^projects/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}/runs/{runsId}", "path": "v1/{+name}", "id": "bigquerydatatransfer.projects.transferConfigs.runs.get", "description": "Returns information about the particular transfer run.", "httpMethod": "GET", "response": { "$ref": "TransferRun" }, "parameterOrder": [ "name" ] } }, "resources": { "transferLogs": { "methods": { "list": { "id": "bigquerydatatransfer.projects.transferConfigs.runs.transferLogs.list", "path": "v1/{+parent}/transferLogs", "description": "Returns user facing log messages for the data transfer run.", "response": { "$ref": "ListTransferLogsResponse" }, "parameterOrder": [ "parent" ], "httpMethod": "GET", "parameters": { "pageToken": { "description": "Pagination token, which can be used to request a specific page\nof `ListTransferLogsRequest` list results. For multiple-page\nresults, `ListTransferLogsResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.", "type": "string", "location": "query" }, "pageSize": { "format": "int32", "description": "Page size. The default page size is the maximum value of 1000 results.", "type": "integer", "location": "query" }, "messageTypes": { "repeated": true, "location": "query", "enum": [ "MESSAGE_SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR" ], "description": "Message types to return. If not populated - INFO, WARNING and ERROR\nmessages are returned.", "type": "string" }, "parent": { "description": "Transfer run name in the form:\n`projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}`.", "type": "string", "required": true, "pattern": "^projects/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}/runs/{runsId}/transferLogs" } } } } } } }, "dataSources": { "methods": { "checkValidCreds": { "parameters": { "name": { "pattern": "^projects/[^/]+/dataSources/[^/]+$", "location": "path", "description": "The data source in the form:\n`projects/{project_id}/dataSources/{data_source_id}`", "type": "string", "required": true } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{projectsId}/dataSources/{dataSourcesId}:checkValidCreds", "path": "v1/{+name}:checkValidCreds", "id": "bigquerydatatransfer.projects.dataSources.checkValidCreds", "description": "Returns true if valid credentials exist for the given data source and\nrequesting user.", "request": { "$ref": "CheckValidCredsRequest" }, "httpMethod": "POST", "parameterOrder": [ "name" ], "response": { "$ref": "CheckValidCredsResponse" } }, "list": { "description": "Lists supported data sources and returns their settings,\nwhich can be used for UI rendering.", "response": { "$ref": "ListDataSourcesResponse" }, "parameterOrder": [ "parent" ], "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { "parent": { "description": "The BigQuery project id for which data sources should be returned.\nMust be in the form: `projects/{project_id}`", "type": "string", "required": true, "pattern": "^projects/[^/]+$", "location": "path" }, "pageToken": { "location": "query", "description": "Pagination token, which can be used to request a specific page\nof `ListDataSourcesRequest` list results. For multiple-page\nresults, `ListDataSourcesResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.", "type": "string" }, "pageSize": { "location": "query", "format": "int32", "description": "Page size. The default page size is the maximum value of 1000 results.", "type": "integer" } }, "flatPath": "v1/projects/{projectsId}/dataSources", "id": "bigquerydatatransfer.projects.dataSources.list", "path": "v1/{+parent}/dataSources" }, "get": { "response": { "$ref": "DataSource" }, "parameterOrder": [ "name" ], "httpMethod": "GET", "parameters": { "name": { "description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/dataSources/{data_source_id}`", "type": "string", "required": true, "pattern": "^projects/[^/]+/dataSources/[^/]+$", "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{projectsId}/dataSources/{dataSourcesId}", "id": "bigquerydatatransfer.projects.dataSources.get", "path": "v1/{+name}", "description": "Retrieves a supported data source and returns its settings,\nwhich can be used for UI rendering." } } }, "locations": { "methods": { "isEnabled": { "id": "bigquerydatatransfer.projects.locations.isEnabled", "path": "v1/{+name}:isEnabled", "request": { "$ref": "IsEnabledRequest" }, "description": "Returns true if data transfer is enabled for a project.", "response": { "$ref": "IsEnabledResponse" }, "parameterOrder": [ "name" ], "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { "name": { "description": "The name of the project resource in the form:\n`projects/{project_id}`", "type": "string", "required": true, "pattern": "^projects/[^/]+/locations/[^/]+$", "location": "path" } }, "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:isEnabled" }, "setEnabled": { "description": "Enables or disables data transfer for a project. This\nmethod requires the additional scope of\n'https://www.googleapis.com/auth/cloudplatformprojects'\nto manage the cloud project permissions.", "request": { "$ref": "SetEnabledRequest" }, "response": { "$ref": "Empty" }, "parameterOrder": [ "name" ], "httpMethod": "POST", "parameters": { "name": { "pattern": "^projects/[^/]+/locations/[^/]+$", "location": "path", "description": "The name of the project resource in the form:\n`projects/{project_id}`", "type": "string", "required": true } }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:setEnabled", "id": "bigquerydatatransfer.projects.locations.setEnabled", "path": "v1/{+name}:setEnabled" }, "get": { "httpMethod": "GET", "parameterOrder": [ "name" ], "response": { "$ref": "Location" }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { "name": { "description": "Resource name for the location.", "type": "string", "required": true, "pattern": "^projects/[^/]+/locations/[^/]+$", "location": "path" } }, "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", "path": "v1/{+name}", "id": "bigquerydatatransfer.projects.locations.get", "description": "Get information about a location." }, "list": { "description": "Lists information about the supported locations for this service.", "response": { "$ref": "ListLocationsResponse" }, "parameterOrder": [ "name" ], "httpMethod": "GET", "parameters": { "filter": { "location": "query", "description": "The standard list filter.", "type": "string" }, "pageToken": { "description": "The standard list page token.", "type": "string", "location": "query" }, "name": { "pattern": "^projects/[^/]+$", "location": "path", "description": "The resource that owns the locations collection, if applicable.", "type": "string", "required": true }, "pageSize": { "location": "query", "format": "int32", "description": "The standard list page size.", "type": "integer" } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{projectsId}/locations", "id": "bigquerydatatransfer.projects.locations.list", "path": "v1/{+name}/locations" } }, "resources": { "transferConfigs": { "methods": { "delete": { "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "httpMethod": "DELETE", "parameters": { "name": { "pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$", "location": "path", "description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}`", "type": "string", "required": true } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ], "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}", "id": "bigquerydatatransfer.projects.locations.transferConfigs.delete", "path": "v1/{+name}", "description": "Deletes a data transfer configuration,\nincluding any associated transfer runs and logs." }, "list": { "description": "Returns information about all data transfers in the project.", "response": { "$ref": "ListTransferConfigsResponse" }, "parameterOrder": [ "parent" ], "httpMethod": "GET", "parameters": { "pageToken": { "location": "query", "description": "Pagination token, which can be used to request a specific page\nof `ListTransfersRequest` list results. For multiple-page\nresults, `ListTransfersResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.", "type": "string" }, "pageSize": { "location": "query", "format": "int32", "description": "Page size. The default page size is the maximum value of 1000 results.", "type": "integer" }, "dataSourceIds": { "description": "When specified, only configurations of requested data sources are returned.", "type": "string", "repeated": true, "location": "query" }, "parent": { "description": "The BigQuery project id for which data sources\nshould be returned: `projects/{project_id}`.", "type": "string", "required": true, "pattern": "^projects/[^/]+/locations/[^/]+$", "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs", "id": "bigquerydatatransfer.projects.locations.transferConfigs.list", "path": "v1/{+parent}/transferConfigs" }, "create": { "httpMethod": "POST", "parameterOrder": [ "parent" ], "response": { "$ref": "TransferConfig" }, "parameters": { "authorizationCode": { "description": "Optional OAuth2 authorization code to use with this transfer configuration.\nThis is required if new credentials are needed, as indicated by\n`CheckValidCreds`.\nIn order to obtain authorization_code, please make a\nrequest to\nhttps://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=\u003cdatatransferapiclientid\u003e&scope=\u003cdata_source_scopes\u003e&redirect_uri=\u003credirect_uri\u003e\n\n* client_id should be OAuth client_id of BigQuery DTS API for the given\n data source returned by ListDataSources method.\n* data_source_scopes are the scopes returned by ListDataSources method.\n* redirect_uri is an optional parameter. If not specified, then\n authorization code is posted to the opener of authorization flow window.\n Otherwise it will be sent to the redirect uri. A special value of\n urn:ietf:wg:oauth:2.0:oob means that authorization code should be\n returned in the title bar of the browser, with the page text prompting\n the user to copy the code and paste it in the application.", "type": "string", "location": "query" }, "parent": { "pattern": "^projects/[^/]+/locations/[^/]+$", "location": "path", "description": "The BigQuery project id where the transfer configuration should be created.\nMust be in the format /projects/{project_id}/locations/{location_id}\nor\n/projects/{project_id}/locations/-\nIn case when '-' is specified as location_id, location is infered from\nthe destination dataset region.", "type": "string", "required": true } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ], "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs", "path": "v1/{+parent}/transferConfigs", "id": "bigquerydatatransfer.projects.locations.transferConfigs.create", "description": "Creates a new data transfer configuration.", "request": { "$ref": "TransferConfig" } }, "scheduleRuns": { "request": { "$ref": "ScheduleTransferRunsRequest" }, "description": "Creates transfer runs for a time range [range_start_time, range_end_time].\nFor each date - or whatever granularity the data source supports - in the\nrange, one transfer run is created.\nNote that runs are created per UTC time in the time range.", "response": { "$ref": "ScheduleTransferRunsResponse" }, "parameterOrder": [ "parent" ], "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "parent": { "description": "Transfer configuration name in the form:\n`projects/{project_id}/transferConfigs/{config_id}`.", "type": "string", "required": true, "pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$", "location": "path" } }, "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}:scheduleRuns", "id": "bigquerydatatransfer.projects.locations.transferConfigs.scheduleRuns", "path": "v1/{+parent}:scheduleRuns" }, "get": { "description": "Returns information about a data transfer config.", "response": { "$ref": "TransferConfig" }, "parameterOrder": [ "name" ], "httpMethod": "GET", "parameters": { "name": { "pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$", "location": "path", "description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}`", "type": "string", "required": true } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}", "id": "bigquerydatatransfer.projects.locations.transferConfigs.get", "path": "v1/{+name}" }, "patch": { "path": "v1/{+name}", "id": "bigquerydatatransfer.projects.locations.transferConfigs.patch", "request": { "$ref": "TransferConfig" }, "description": "Updates a data transfer configuration.\nAll fields must be set, even if they are not updated.", "httpMethod": "PATCH", "parameterOrder": [ "name" ], "response": { "$ref": "TransferConfig" }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ], "parameters": { "name": { "pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$", "location": "path", "description": "The resource name of the transfer run.\nTransfer run names have the form\n`projects/{project_id}/transferConfigs/{config_id}`.\nWhere `config_id` is usually a uuid, even though it is not\nguaranteed or required. The name is ignored when creating a transfer run.", "type": "string", "required": true }, "authorizationCode": { "description": "Optional OAuth2 authorization code to use with this transfer configuration.\nIf it is provided, the transfer configuration will be associated with the\ngaia id of the authorizing user.\nIn order to obtain authorization_code, please make a\nrequest to\nhttps://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=\u003cdatatransferapiclientid\u003e&scope=\u003cdata_source_scopes\u003e&redirect_uri=\u003credirect_uri\u003e\n\n* client_id should be OAuth client_id of BigQuery DTS API for the given\n data source returned by ListDataSources method.\n* data_source_scopes are the scopes returned by ListDataSources method.\n* redirect_uri is an optional parameter. If not specified, then\n authorization code is posted to the opener of authorization flow window.\n Otherwise it will be sent to the redirect uri. A special value of\n urn:ietf:wg:oauth:2.0:oob means that authorization code should be\n returned in the title bar of the browser, with the page text prompting\n the user to copy the code and paste it in the application.", "type": "string", "location": "query" }, "updateMask": { "format": "google-fieldmask", "description": "Required list of fields to be updated in this request.", "type": "string", "location": "query" } }, "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}" } }, "resources": { "runs": { "methods": { "delete": { "response": { "$ref": "Empty" }, "parameterOrder": [ "name" ], "httpMethod": "DELETE", "parameters": { "name": { "pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", "location": "path", "description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`", "type": "string", "required": true } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform" ], "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}/runs/{runsId}", "id": "bigquerydatatransfer.projects.locations.transferConfigs.runs.delete", "path": "v1/{+name}", "description": "Deletes the specified transfer run." }, "list": { "path": "v1/{+parent}/runs", "id": "bigquerydatatransfer.projects.locations.transferConfigs.runs.list", "description": "Returns information about running and completed jobs.", "httpMethod": "GET", "response": { "$ref": "ListTransferRunsResponse" }, "parameterOrder": [ "parent" ], "parameters": { "pageToken": { "location": "query", "description": "Pagination token, which can be used to request a specific page\nof `ListTransferRunsRequest` list results. For multiple-page\nresults, `ListTransferRunsResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.", "type": "string" }, "pageSize": { "location": "query", "format": "int32", "description": "Page size. The default page size is the maximum value of 1000 results.", "type": "integer" }, "states": { "repeated": true, "location": "query", "enum": [ "TRANSFER_STATE_UNSPECIFIED", "INACTIVE", "PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED" ], "description": "When specified, only transfer runs with requested states are returned.", "type": "string" }, "runAttempt": { "description": "Indicates how run attempts are to be pulled.", "type": "string", "location": "query", "enum": [ "RUN_ATTEMPT_UNSPECIFIED", "LATEST" ] }, "parent": { "description": "Name of transfer configuration for which transfer runs should be retrieved.\nFormat of transfer configuration resource name is:\n`projects/{project_id}/transferConfigs/{config_id}`.", "type": "string", "required": true, "pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$", "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}/runs" }, "get": { "path": "v1/{+name}", "id": "bigquerydatatransfer.projects.locations.transferConfigs.runs.get", "description": "Returns information about the particular transfer run.", "httpMethod": "GET", "parameterOrder": [ "name" ], "response": { "$ref": "TransferRun" }, "parameters": { "name": { "description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`", "type": "string", "required": true, "pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}/runs/{runsId}" } }, "resources": { "transferLogs": { "methods": { "list": { "path": "v1/{+parent}/transferLogs", "id": "bigquerydatatransfer.projects.locations.transferConfigs.runs.transferLogs.list", "description": "Returns user facing log messages for the data transfer run.", "httpMethod": "GET", "parameterOrder": [ "parent" ], "response": { "$ref": "ListTransferLogsResponse" }, "parameters": { "pageToken": { "location": "query", "description": "Pagination token, which can be used to request a specific page\nof `ListTransferLogsRequest` list results. For multiple-page\nresults, `ListTransferLogsResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.", "type": "string" }, "pageSize": { "location": "query", "format": "int32", "description": "Page size. The default page size is the maximum value of 1000 results.", "type": "integer" }, "messageTypes": { "description": "Message types to return. If not populated - INFO, WARNING and ERROR\nmessages are returned.", "type": "string", "repeated": true, "location": "query", "enum": [ "MESSAGE_SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR" ] }, "parent": { "description": "Transfer run name in the form:\n`projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}`.", "type": "string", "required": true, "pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", "location": "path" } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}/runs/{runsId}/transferLogs" } } } } } } }, "dataSources": { "methods": { "checkValidCreds": { "path": "v1/{+name}:checkValidCreds", "id": "bigquerydatatransfer.projects.locations.dataSources.checkValidCreds", "request": { "$ref": "CheckValidCredsRequest" }, "description": "Returns true if valid credentials exist for the given data source and\nrequesting user.", "httpMethod": "POST", "parameterOrder": [ "name" ], "response": { "$ref": "CheckValidCredsResponse" }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { "name": { "pattern": "^projects/[^/]+/locations/[^/]+/dataSources/[^/]+$", "location": "path", "description": "The data source in the form:\n`projects/{project_id}/dataSources/{data_source_id}`", "type": "string", "required": true } }, "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataSources/{dataSourcesId}:checkValidCreds" }, "list": { "parameters": { "parent": { "description": "The BigQuery project id for which data sources should be returned.\nMust be in the form: `projects/{project_id}`", "type": "string", "required": true, "pattern": "^projects/[^/]+/locations/[^/]+$", "location": "path" }, "pageToken": { "description": "Pagination token, which can be used to request a specific page\nof `ListDataSourcesRequest` list results. For multiple-page\nresults, `ListDataSourcesResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.", "type": "string", "location": "query" }, "pageSize": { "format": "int32", "description": "Page size. The default page size is the maximum value of 1000 results.", "type": "integer", "location": "query" } }, "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataSources", "id": "bigquerydatatransfer.projects.locations.dataSources.list", "path": "v1/{+parent}/dataSources", "description": "Lists supported data sources and returns their settings,\nwhich can be used for UI rendering.", "response": { "$ref": "ListDataSourcesResponse" }, "parameterOrder": [ "parent" ], "httpMethod": "GET" }, "get": { "response": { "$ref": "DataSource" }, "httpMethod": "GET", "parameterOrder": [ "name" ], "scopes": [ "https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only" ], "parameters": { "name": { "pattern": "^projects/[^/]+/locations/[^/]+/dataSources/[^/]+$", "location": "path", "description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/dataSources/{data_source_id}`", "type": "string", "required": true } }, "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataSources/{dataSourcesId}", "id": "bigquerydatatransfer.projects.locations.dataSources.get", "path": "v1/{+name}", "description": "Retrieves a supported data source and returns its settings,\nwhich can be used for UI rendering." } } } } } } } }, "parameters": { "upload_protocol": { "location": "query", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "type": "string" }, "prettyPrint": { "location": "query", "description": "Returns response with indentations and line breaks.", "default": "true", "type": "boolean" }, "fields": { "description": "Selector specifying which fields to include in a partial response.", "type": "string", "location": "query" }, "uploadType": { "location": "query", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string" }, "callback": { "location": "query", "description": "JSONP", "type": "string" }, "$.xgafv": { "description": "V1 error format.", "type": "string", "enumDescriptions": [ "v1 error format", "v2 error format" ], "location": "query", "enum": [ "1", "2" ] }, "alt": { "enum": [ "json", "media", "proto" ], "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" ], "location": "query", "description": "Data format for response.", "default": "json" }, "key": { "location": "query", "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", "type": "string" }, "access_token": { "description": "OAuth access token.", "type": "string", "location": "query" }, "quotaUser": { "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", "type": "string", "location": "query" }, "pp": { "location": "query", "description": "Pretty-print response.", "default": "true", "type": "boolean" }, "oauth_token": { "location": "query", "description": "OAuth 2.0 token for the current user.", "type": "string" }, "bearer_token": { "description": "OAuth bearer token.", "type": "string", "location": "query" } }, "version": "v1", "baseUrl": "https://bigquerydatatransfer.googleapis.com/", "servicePath": "", "description": "Transfers data from partner SaaS applications to Google BigQuery on a scheduled, managed basis.", "kind": "discovery#restDescription", "basePath": "", "revision": "20170911", "documentationLink": "https://cloud.google.com/bigquery/", "id": "bigquerydatatransfer:v1", "discoveryVersion": "v1", "version_module": true, "schemas": { "Location": { "id": "Location", "description": "A resource that represents Google Cloud Platform location.", "type": "object", "properties": { "name": { "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`", "type": "string" }, "locationId": { "description": "The canonical id for this location. For example: `\"us-east1\"`.", "type": "string" }, "metadata": { "description": "Service-specific metadata. For example the available capacity at the given\nlocation.", "type": "object", "additionalProperties": { "description": "Properties of the object. Contains field @type with type URL.", "type": "any" } }, "labels": { "additionalProperties": { "type": "string" }, "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", "type": "object" } } }, "TransferConfig": { "id": "TransferConfig", "description": "Represents a data transfer configuration. A transfer configuration\ncontains all metadata needed to perform a data transfer. For example,\n`destination_dataset_id` specifies where data should be stored.\nWhen a new transfer configuration is created, the specified\n`destination_dataset_id` is created when needed and shared with the\nappropriate data source service account.", "type": "object", "properties": { "disabled": { "description": "Is this config disabled. When set to true, no runs are scheduled\nfor a given transfer.", "type": "boolean" }, "nextRunTime": { "format": "google-datetime", "description": "Next time when data transfer will run.\nOutput only.", "type": "string" }, "updateTime": { "format": "google-datetime", "description": "Data transfer modification time. Ignored by server on input.\nOutput only.", "type": "string" }, "schedule": { "description": "Data transfer schedule.\nIf the data source does not support a custom schedule, this should be\nempty. If it is empty, the default value for the data source will be\nused.\nThe specified times are in UTC.\nExamples of valid format:\n`1st,3rd monday of month 15:30`,\n`every wed,fri of jan,jun 13:15`, and\n`first sunday of quarter 00:00`.\nSee more explanation about the format here:\nhttps://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format\nNOTE: the granularity should be at least 8 hours, or less frequent.", "type": "string" }, "dataRefreshWindowDays": { "format": "int32", "description": "The number of days to look back to automatically refresh the data.\nFor example, if `data_refresh_window_days = 10`, then every day\nBigQuery reingests data for [today-10, today-1], rather than ingesting data\nfor just [today-1].\nOnly valid if the data source supports the feature. Set the value to 0\nto use the default value.", "type": "integer" }, "dataSourceId": { "description": "Data source id. Cannot be changed once data transfer is created.", "type": "string" }, "state": { "enumDescriptions": [ "State placeholder.", "Data transfer is inactive.", "Data transfer is scheduled and is waiting to be picked up by\ndata transfer backend.", "Data transfer is in progress.", "Data transfer completed successsfully.", "Data transfer failed.", "Data transfer is cancelled." ], "enum": [ "TRANSFER_STATE_UNSPECIFIED", "INACTIVE", "PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED" ], "description": "State of the most recently updated transfer run.\nOutput only.", "type": "string" }, "name": { "description": "The resource name of the transfer run.\nTransfer run names have the form\n`projects/{project_id}/transferConfigs/{config_id}`.\nWhere `config_id` is usually a uuid, even though it is not\nguaranteed or required. The name is ignored when creating a transfer run.", "type": "string" }, "userId": { "format": "int64", "description": "GaiaID of the user on whose behalf transfer is done. Applicable only\nto data sources that do not support service accounts. When set to 0,\nthe data source service account credentials are used.\nOutput only.", "type": "string" }, "destinationDatasetId": { "description": "The BigQuery target dataset id.", "type": "string" }, "params": { "description": "Data transfer specific parameters.", "type": "object", "additionalProperties": { "description": "Properties of the object.", "type": "any" } }, "datasetRegion": { "description": "Region in which BigQuery dataset is located. Currently possible values are:\n\"US\" and \"EU\".\nOutput only.", "type": "string" }, "displayName": { "description": "User specified display name for the data transfer.", "type": "string" } } }, "TransferRun": { "description": "Represents a data transfer run.", "type": "object", "properties": { "destinationDatasetId": { "description": "The BigQuery target dataset id.", "type": "string" }, "name": { "description": "The resource name of the transfer run.\nTransfer run names have the form\n`projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`.\nThe name is ignored when creating a transfer run.", "type": "string" }, "userId": { "format": "int64", "description": "The user id for this transfer run.\nOutput only.", "type": "string" }, "params": { "additionalProperties": { "description": "Properties of the object.", "type": "any" }, "description": "Data transfer specific parameters.", "type": "object" }, "endTime": { "format": "google-datetime", "description": "Time when transfer run ended. Parameter ignored by server for input\nrequests.\nOutput only.", "type": "string" }, "datasetRegion": { "description": "Region in which BigQuery dataset is located. Currently possible values are:\n\"US\" and \"EU\".\nOutput only.", "type": "string" }, "startTime": { "format": "google-datetime", "description": "Time when transfer run was started. Parameter ignored by server for input\nrequests.\nOutput only.", "type": "string" }, "scheduleTime": { "format": "google-datetime", "description": "Minimum time after which a transfer run can be started.", "type": "string" }, "schedule": { "description": "Describes the schedule of this transfer run if it was created as part of\na regular schedule. For batch transfer runs that are directly created,\nthis is empty.\nNOTE: the system might choose to delay the schedule depending on the\ncurrent load, so `schedule_time` doesn't always matches this.\nOutput only.", "type": "string" }, "updateTime": { "format": "google-datetime", "description": "Last time the data transfer run state was updated.\nOutput only.", "type": "string" }, "runTime": { "format": "google-datetime", "description": "For batch transfer runs, specifies the date and time that\ndata should be ingested.", "type": "string" }, "dataSourceId": { "description": "Data source id.\nOutput only.", "type": "string" }, "state": { "description": "Data transfer run state. Ignored for input requests.\nOutput only.", "type": "string", "enumDescriptions": [ "State placeholder.", "Data transfer is inactive.", "Data transfer is scheduled and is waiting to be picked up by\ndata transfer backend.", "Data transfer is in progress.", "Data transfer completed successsfully.", "Data transfer failed.", "Data transfer is cancelled." ], "enum": [ "TRANSFER_STATE_UNSPECIFIED", "INACTIVE", "PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED" ] } }, "id": "TransferRun" }, "CheckValidCredsRequest": { "id": "CheckValidCredsRequest", "description": "A request to determine whether the user has valid credentials. This method\nis used to limit the number of OAuth popups in the user interface. The\nuser id is inferred from the API call context.\nIf the data source has the Google+ authorization type, this method\nreturns false, as it cannot be determined whether the credentials are\nalready valid merely based on the user id.", "type": "object", "properties": {} }, "CheckValidCredsResponse": { "id": "CheckValidCredsResponse", "description": "A response indicating whether the credentials exist and are valid.", "type": "object", "properties": { "hasValidCreds": { "description": "If set to `true`, the credentials exist and are valid.", "type": "boolean" } } }, "ScheduleTransferRunsResponse": { "description": "A response to schedule transfer runs for a time range.", "type": "object", "properties": { "createdRuns": { "description": "The transfer runs that were created.", "items": { "$ref": "TransferRun" }, "type": "array" } }, "id": "ScheduleTransferRunsResponse" }, "TransferMessage": { "description": "Represents a user facing message for a particular data transfer run.", "type": "object", "properties": { "messageText": { "description": "Message text.", "type": "string" }, "severity": { "description": "Message severity.", "type": "string", "enumDescriptions": [ "No severity specified.", "Informational message.", "Warning message.", "Error message." ], "enum": [ "MESSAGE_SEVERITY_UNSPECIFIED", "INFO", "WARNING", "ERROR" ] }, "messageTime": { "format": "google-datetime", "description": "Time when message was logged.", "type": "string" } }, "id": "TransferMessage" }, "ListTransferLogsResponse": { "description": "The returned list transfer run messages.", "type": "object", "properties": { "transferMessages": { "description": "The stored pipeline transfer messages.\nOutput only.", "items": { "$ref": "TransferMessage" }, "type": "array" }, "nextPageToken": { "description": "The next-pagination token. For multiple-page list results,\nthis token can be used as the\n`GetTransferRunLogRequest.page_token`\nto request the next page of list results.\nOutput only.", "type": "string" } }, "id": "ListTransferLogsResponse" }, "ListDataSourcesResponse": { "description": "Returns list of supported data sources and their metadata.", "type": "object", "properties": { "dataSources": { "description": "List of supported data sources and their transfer settings.", "items": { "$ref": "DataSource" }, "type": "array" }, "nextPageToken": { "description": "The next-pagination token. For multiple-page list results,\nthis token can be used as the\n`ListDataSourcesRequest.page_token`\nto request the next page of list results.\n@OutputOnly", "type": "string" } }, "id": "ListDataSourcesResponse" }, "DataSourceParameter": { "id": "DataSourceParameter", "description": "Represents a data source parameter with validation rules, so that\nparameters can be rendered in the UI. These parameters are given to us by\nsupported data sources, and include all needed information for rendering\nand validation.\nThus, whoever uses this api can decide to generate either generic ui,\nor custom data source specific forms.", "type": "object", "properties": { "recurse": { "description": "If set to true, schema should be taken from the parent with the same\nparameter_id. Only applicable when parameter type is RECORD.", "type": "boolean" }, "description": { "description": "Parameter description.", "type": "string" }, "allowedValues": { "description": "All possible values for the parameter.", "items": { "type": "string" }, "type": "array" }, "minValue": { "format": "double", "description": "For integer and double values specifies minimum allowed value.", "type": "number" }, "validationHelpUrl": { "description": "URL to a help document to further explain the naming requirements.", "type": "string" }, "validationRegex": { "description": "Regular expression which can be used for parameter validation.", "type": "string" }, "paramId": { "description": "Parameter identifier.", "type": "string" }, "required": { "description": "Is parameter required.", "type": "boolean" }, "repeated": { "description": "Can parameter have multiple values.", "type": "boolean" }, "displayName": { "description": "Parameter display name in the user interface.", "type": "string" }, "immutable": { "description": "Cannot be changed after initial creation.", "type": "boolean" }, "validationDescription": { "description": "Description of the requirements for this field, in case the user input does\nnot fulfill the regex pattern or min/max values.", "type": "string" }, "fields": { "description": "When parameter is a record, describes child fields.", "items": { "$ref": "DataSourceParameter" }, "type": "array" }, "maxValue": { "format": "double", "description": "For integer and double values specifies maxminum allowed value.", "type": "number" }, "type": { "description": "Parameter type.", "type": "string", "enumDescriptions": [ "Type unspecified.", "String parameter.", "Integer parameter (64-bits).\nWill be serialized to json as string.", "Double precision floating point parameter.", "Boolean parameter.", "Record parameter.", "Page ID for a Google+ Page." ], "enum": [ "TYPE_UNSPECIFIED", "STRING", "INTEGER", "DOUBLE", "BOOLEAN", "RECORD", "PLUS_PAGE" ] } } }, "ListLocationsResponse": { "id": "ListLocationsResponse", "description": "The response message for Locations.ListLocations.", "type": "object", "properties": { "locations": { "description": "A list of locations that matches the specified filter in the request.", "items": { "$ref": "Location" }, "type": "array" }, "nextPageToken": { "description": "The standard List next-page token.", "type": "string" } } }, "ListTransferRunsResponse": { "id": "ListTransferRunsResponse", "description": "The returned list of pipelines in the project.", "type": "object", "properties": { "transferRuns": { "description": "The stored pipeline transfer runs.\nOutput only.", "items": { "$ref": "TransferRun" }, "type": "array" }, "nextPageToken": { "description": "The next-pagination token. For multiple-page list results,\nthis token can be used as the\n`ListTransferRunsRequest.page_token`\nto request the next page of list results.\nOutput only.", "type": "string" } } }, "IsEnabledRequest": { "description": "A request to determine whether data transfer is enabled for the project.", "type": "object", "properties": {}, "id": "IsEnabledRequest" }, "SetEnabledRequest": { "id": "SetEnabledRequest", "description": "A request to set whether data transfer is enabled or disabled for a project.", "type": "object", "properties": { "enabled": { "description": "Whether data transfer should be enabled or disabled for the project.", "type": "boolean" } } }, "ListTransferConfigsResponse": { "description": "The returned list of pipelines in the project.", "type": "object", "properties": { "transferConfigs": { "description": "The stored pipeline transfer configurations.\nOutput only.", "items": { "$ref": "TransferConfig" }, "type": "array" }, "nextPageToken": { "description": "The next-pagination token. For multiple-page list results,\nthis token can be used as the\n`ListTransferConfigsRequest.page_token`\nto request the next page of list results.\nOutput only.", "type": "string" } }, "id": "ListTransferConfigsResponse" }, "IsEnabledResponse": { "id": "IsEnabledResponse", "description": "A response to indicate whether data transfer is enabled for the project.", "type": "object", "properties": { "enabled": { "description": "Indicates whether the project is enabled.", "type": "boolean" } } }, "DataSource": { "description": "Represents data source metadata. Metadata is sufficient to\nrender UI and request proper OAuth tokens.", "type": "object", "properties": { "scopes": { "description": "Api auth scopes for which refresh token needs to be obtained. Only valid\nwhen `client_id` is specified. Ignored otherwise. These are scopes needed\nby a data source to prepare data and ingest them into BigQuery,\ne.g., https://www.googleapis.com/auth/bigquery", "items": { "type": "string" }, "type": "array" }, "name": { "description": "Data source resource name.", "type": "string" }, "minimumScheduleInterval": { "format": "google-duration", "description": "The minimum interval between two consecutive scheduled runs.", "type": "string" }, "clientId": { "description": "Data source client id which should be used to receive refresh token.\nWhen not supplied, no offline credentials are populated for data transfer.", "type": "string" }, "authorizationType": { "enumDescriptions": [ "Type unspecified.", "Use OAuth 2 authorization codes that can be exchanged\nfor a refresh token on the backend.", "Return an authorization code for a given Google+ page that can then be\nexchanged for a refresh token on the backend." ], "enum": [ "AUTHORIZATION_TYPE_UNSPECIFIED", "AUTHORIZATION_CODE", "GOOGLE_PLUS_AUTHORIZATION_CODE" ], "description": "Indicates the type of authorization.", "type": "string" }, "supportsCustomSchedule": { "description": "Specifies whether the data source supports a user defined schedule, or\noperates on the default schedule.\nWhen set to `true`, user can override default schedule.", "type": "boolean" }, "displayName": { "description": "User friendly data source name.", "type": "string" }, "updateDeadlineSeconds": { "format": "int32", "description": "The number of seconds to wait for an update from the data source\nbefore BigQuery marks the transfer as failed.", "type": "integer" }, "dataRefreshType": { "description": "Specifies whether the data source supports automatic data refresh for the\npast few days, and how it's supported.\nFor some data sources, data might not be complete until a few days later,\nso it's useful to refresh data automatically.", "type": "string", "enumDescriptions": [ "The data source won't support data auto refresh, which is default value.", "The data source supports data auto refresh, and runs will be scheduled\nfor the past few days. Does not allow custom values to be set for each\ntransfer config.", "The data source supports data auto refresh, and runs will be scheduled\nfor the past few days. Allows custom values to be set for each transfer\nconfig." ], "enum": [ "DATA_REFRESH_TYPE_UNSPECIFIED", "SLIDING_WINDOW", "CUSTOM_SLIDING_WINDOW" ] }, "parameters": { "description": "Data source parameters.", "items": { "$ref": "DataSourceParameter" }, "type": "array" }, "helpUrl": { "description": "Url for the help document for this data source.", "type": "string" }, "defaultSchedule": { "description": "Default data transfer schedule.\nExamples of valid schedules include:\n`1st,3rd monday of month 15:30`,\n`every wed,fri of jan,jun 13:15`, and\n`first sunday of quarter 00:00`.", "type": "string" }, "supportsMultipleTransfers": { "description": "Indicates whether the data source supports multiple transfers\nto different BigQuery targets.", "type": "boolean" }, "defaultDataRefreshWindowDays": { "format": "int32", "description": "Default data refresh window on days.\nOnly meaningful when `data_refresh_type` = `SLIDING_WINDOW`.", "type": "integer" }, "manualRunsDisabled": { "description": "Disables backfilling and manual run scheduling\nfor the data source.", "type": "boolean" }, "transferType": { "description": "Transfer type. Currently supports only batch transfers,\nwhich are transfers that use the BigQuery batch APIs (load or\nquery) to ingest the data.", "type": "string", "enumDescriptions": [ "Invalid or Unknown transfer type placeholder.", "Batch data transfer.", "Streaming data transfer. Streaming data source currently doesn't\nsupport multiple transfer configs per project." ], "enum": [ "TRANSFER_TYPE_UNSPECIFIED", "BATCH", "STREAMING" ] }, "description": { "description": "User friendly data source description string.", "type": "string" }, "dataSourceId": { "description": "Data source id.", "type": "string" } }, "id": "DataSource" }, "ScheduleTransferRunsRequest": { "description": "A request to schedule transfer runs for a time range.", "type": "object", "properties": { "rangeEndTime": { "format": "google-datetime", "description": "End time of the range of transfer runs.", "type": "string" }, "rangeStartTime": { "format": "google-datetime", "description": "Start time of the range of transfer runs.", "type": "string" } }, "id": "ScheduleTransferRunsRequest" }, "Empty": { "id": "Empty", "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", "type": "object", "properties": {} } }, "protocol": "rest", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" }, "canonicalName": "BigQuery Data Transfer", "auth": { "oauth2": { "scopes": { "https://www.googleapis.com/auth/bigquery": { "description": "View and manage your data in Google BigQuery" }, "https://www.googleapis.com/auth/cloud-platform.read-only": { "description": "View your data across Google Cloud Platform services" }, "https://www.googleapis.com/auth/cloud-platform": { "description": "View and manage your data across Google Cloud Platform services" } } } }, "rootUrl": "https://bigquerydatatransfer.googleapis.com/" }