2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-11 13:52:31 +00:00
restic/vendor/google.golang.org/api/bigquerydatatransfer/v1/bigquerydatatransfer-api.json

1763 lines
82 KiB
JSON
Raw Normal View History

2017-08-05 18:17:15 +00:00
{
2017-10-22 08:07:36 +00:00
"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/",
"ownerDomain": "google.com",
"name": "bigquerydatatransfer",
"batchPath": "batch",
"fullyEncodeReservedExpansion": true,
"title": "BigQuery Data Transfer API",
"ownerName": "Google",
"resources": {
"projects": {
"resources": {
2017-10-22 08:07:36 +00:00
"locations": {
"methods": {
"list": {
2017-10-22 08:07:36 +00:00
"path": "v1/{+name}/locations",
"id": "bigquerydatatransfer.projects.locations.list",
"description": "Lists information about the supported locations for this service.",
"response": {
2017-10-22 08:07:36 +00:00
"$ref": "ListLocationsResponse"
},
"parameterOrder": [
2017-10-22 08:07:36 +00:00
"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": {
2017-10-22 08:07:36 +00:00
"name": {
"pattern": "^projects/[^/]+$",
2017-10-22 08:07:36 +00:00
"location": "path",
"description": "The resource that owns the locations collection, if applicable.",
"required": true,
"type": "string"
},
"pageToken": {
2017-10-22 08:07:36 +00:00
"location": "query",
"description": "The standard list page token.",
"type": "string"
},
"pageSize": {
"location": "query",
2017-10-22 08:07:36 +00:00
"description": "The standard list page size.",
"format": "int32",
"type": "integer"
},
2017-10-22 08:07:36 +00:00
"filter": {
"description": "The standard list filter.",
"type": "string",
2017-10-22 08:07:36 +00:00
"location": "query"
}
},
2017-10-22 08:07:36 +00:00
"flatPath": "v1/projects/{projectsId}/locations"
},
"get": {
"response": {
2017-10-22 08:07:36 +00:00
"$ref": "Location"
},
"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": {
2017-10-22 08:07:36 +00:00
"pattern": "^projects/[^/]+/locations/[^/]+$",
"location": "path",
2017-10-22 08:07:36 +00:00
"description": "Resource name for the location.",
"required": true,
"type": "string"
}
},
2017-10-22 08:07:36 +00:00
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}",
"path": "v1/{+name}",
"id": "bigquerydatatransfer.projects.locations.get",
"description": "Get information about a location."
}
2017-08-05 18:17:15 +00:00
},
"resources": {
2017-10-22 08:07:36 +00:00
"dataSources": {
"methods": {
2017-10-22 08:07:36 +00:00
"get": {
"description": "Retrieves a supported data source and returns its settings,\nwhich can be used for UI rendering.",
"response": {
2017-10-22 08:07:36 +00:00
"$ref": "DataSource"
},
"parameterOrder": [
2017-10-22 08:07:36 +00:00
"name"
],
"httpMethod": "GET",
2017-10-22 08:07:36 +00:00
"parameters": {
"name": {
"description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/dataSources/{data_source_id}`",
"required": true,
"type": "string",
"pattern": "^projects/[^/]+/locations/[^/]+/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}/locations/{locationsId}/dataSources/{dataSourcesId}",
"path": "v1/{+name}",
"id": "bigquerydatatransfer.projects.locations.dataSources.get"
},
"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": {
"pageToken": {
2017-10-22 08:07:36 +00:00
"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": {
"description": "Page size. The default page size is the maximum value of 1000 results.",
2017-10-22 08:07:36 +00:00
"format": "int32",
"type": "integer",
"location": "query"
},
"parent": {
"location": "path",
2017-10-22 08:07:36 +00:00
"description": "The BigQuery project id for which data sources should be returned.\nMust be in the form: `projects/{project_id}`",
"required": true,
2017-10-22 08:07:36 +00:00
"type": "string",
"pattern": "^projects/[^/]+/locations/[^/]+$"
}
},
2017-10-22 08:07:36 +00:00
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataSources",
"path": "v1/{+parent}/dataSources",
"id": "bigquerydatatransfer.projects.locations.dataSources.list"
},
2017-10-22 08:07:36 +00:00
"checkValidCreds": {
"description": "Returns true if valid credentials exist for the given data source and\nrequesting user.\nSome data sources doesn't support service account, so we need to talk to\nthem on behalf of the end user. This API just checks whether we have OAuth\ntoken for the particular user, which is a pre-requisite before user can\ncreate a transfer config.",
"request": {
"$ref": "CheckValidCredsRequest"
},
2017-10-22 08:07:36 +00:00
"httpMethod": "POST",
"parameterOrder": [
"name"
],
2017-10-22 08:07:36 +00:00
"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": {
2017-10-22 08:07:36 +00:00
"required": true,
"type": "string",
2017-10-22 08:07:36 +00:00
"pattern": "^projects/[^/]+/locations/[^/]+/dataSources/[^/]+$",
"location": "path",
"description": "The data source in the form:\n`projects/{project_id}/dataSources/{data_source_id}`"
}
},
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataSources/{dataSourcesId}:checkValidCreds",
"id": "bigquerydatatransfer.projects.locations.dataSources.checkValidCreds",
"path": "v1/{+name}:checkValidCreds"
}
}
},
"transferConfigs": {
"methods": {
"get": {
"httpMethod": "GET",
"parameterOrder": [
"name"
],
"response": {
"$ref": "TransferConfig"
},
"parameters": {
"name": {
"description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}`",
"required": true,
2017-10-22 08:07:36 +00:00
"type": "string",
"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$",
"location": "path"
}
},
2017-10-22 08:07:36 +00:00
"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}",
"description": "Returns information about a data transfer config."
},
"patch": {
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}",
"id": "bigquerydatatransfer.projects.locations.transferConfigs.patch",
"path": "v1/{+name}",
"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"
},
"parameters": {
"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",
"description": "Required list of fields to be updated in this request.",
"format": "google-fieldmask",
"type": "string"
},
"name": {
"description": "The resource name of the transfer config.\nTransfer config 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\nconfig.",
"required": true,
"type": "string",
"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$",
"location": "path"
}
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"response": {
"$ref": "Empty"
},
"parameterOrder": [
"name"
],
"httpMethod": "DELETE",
2017-10-22 08:07:36 +00:00
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"name": {
2017-10-22 08:07:36 +00:00
"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}`",
"required": true,
"type": "string"
}
},
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}",
"path": "v1/{+name}",
"id": "bigquerydatatransfer.projects.locations.transferConfigs.delete",
"description": "Deletes a data transfer configuration,\nincluding any associated transfer runs and logs."
},
"list": {
"response": {
"$ref": "ListTransferConfigsResponse"
},
"parameterOrder": [
"parent"
],
"httpMethod": "GET",
"parameters": {
"pageToken": {
"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",
"location": "query"
},
"pageSize": {
"type": "integer",
"location": "query",
"description": "Page size. The default page size is the maximum value of 1000 results.",
"format": "int32"
},
"parent": {
"pattern": "^projects/[^/]+/locations/[^/]+$",
"location": "path",
"description": "The BigQuery project id for which data sources\nshould be returned: `projects/{project_id}`.",
"required": true,
"type": "string"
},
"dataSourceIds": {
"description": "When specified, only configurations of requested data sources are returned.",
"type": "string",
"repeated": true,
"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}/transferConfigs",
"path": "v1/{+parent}/transferConfigs",
"id": "bigquerydatatransfer.projects.locations.transferConfigs.list",
"description": "Returns information about all data transfers in the project."
},
"create": {
"response": {
"$ref": "TransferConfig"
},
"parameterOrder": [
"parent"
],
"httpMethod": "POST",
"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",
2017-10-22 08:07:36 +00:00
"location": "query"
},
"parent": {
"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.",
"required": true,
2017-10-22 08:07:36 +00:00
"type": "string",
"pattern": "^projects/[^/]+/locations/[^/]+$"
}
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
],
2017-10-22 08:07:36 +00:00
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs",
"path": "v1/{+parent}/transferConfigs",
"id": "bigquerydatatransfer.projects.locations.transferConfigs.create",
"request": {
"$ref": "TransferConfig"
},
"description": "Creates a new data transfer configuration."
2017-09-21 15:48:45 +00:00
},
2017-10-22 08:07:36 +00:00
"scheduleRuns": {
"response": {
"$ref": "ScheduleTransferRunsResponse"
},
"parameterOrder": [
"parent"
],
"httpMethod": "POST",
"parameters": {
"parent": {
"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$",
"location": "path",
"description": "Transfer configuration name in the form:\n`projects/{project_id}/transferConfigs/{config_id}`.",
"required": true,
"type": "string"
}
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}:scheduleRuns",
"path": "v1/{+parent}:scheduleRuns",
"id": "bigquerydatatransfer.projects.locations.transferConfigs.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."
2017-09-21 15:48:45 +00:00
}
},
"resources": {
"runs": {
2017-09-21 15:48:45 +00:00
"methods": {
2017-10-22 08:07:36 +00:00
"delete": {
"description": "Deletes the specified transfer run.",
"httpMethod": "DELETE",
"response": {
"$ref": "Empty"
},
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`",
"required": true,
"type": "string",
"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+/runs/[^/]+$",
"location": "path"
}
},
"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}"
},
"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}`",
"required": true,
"type": "string",
"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}",
"path": "v1/{+name}",
"id": "bigquerydatatransfer.projects.locations.transferConfigs.runs.get",
"description": "Returns information about the particular transfer run.",
"response": {
"$ref": "TransferRun"
},
"parameterOrder": [
"name"
],
"httpMethod": "GET"
},
2017-09-21 15:48:45 +00:00
"list": {
"response": {
"$ref": "ListTransferRunsResponse"
2017-09-21 15:48:45 +00:00
},
"parameterOrder": [
"parent"
],
2017-10-22 08:07:36 +00:00
"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"
],
2017-09-21 15:48:45 +00:00
"parameters": {
"states": {
"type": "string",
"repeated": true,
"location": "query",
2017-09-21 15:48:45 +00:00
"enum": [
"TRANSFER_STATE_UNSPECIFIED",
"INACTIVE",
"PENDING",
"RUNNING",
"SUCCEEDED",
"FAILED",
"CANCELLED"
2017-10-22 08:07:36 +00:00
],
"description": "When specified, only transfer runs with requested states are returned."
},
"pageSize": {
"location": "query",
"description": "Page size. The default page size is the maximum value of 1000 results.",
"format": "int32",
"type": "integer"
},
"runAttempt": {
2017-10-22 08:07:36 +00:00
"description": "Indicates how run attempts are to be pulled.",
"type": "string",
"location": "query",
"enum": [
"RUN_ATTEMPT_UNSPECIFIED",
"LATEST"
2017-10-22 08:07:36 +00:00
]
2017-09-21 15:48:45 +00:00
},
"parent": {
"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$",
2017-10-22 08:07:36 +00:00
"location": "path",
"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}`.",
"required": true,
"type": "string"
2017-09-21 15:48:45 +00:00
},
"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.",
2017-09-21 15:48:45 +00:00
"type": "string"
}
},
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}/runs",
"path": "v1/{+parent}/runs",
2017-10-22 08:07:36 +00:00
"id": "bigquerydatatransfer.projects.locations.transferConfigs.runs.list",
"description": "Returns information about running and completed jobs."
}
},
"resources": {
"transferLogs": {
"methods": {
"list": {
2017-10-22 08:07:36 +00:00
"description": "Returns user facing log messages for the data transfer run.",
"response": {
"$ref": "ListTransferLogsResponse"
},
"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": {
"pageToken": {
2017-10-22 08:07:36 +00:00
"type": "string",
"location": "query",
2017-10-22 08:07:36 +00:00
"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."
},
"pageSize": {
"type": "integer",
"location": "query",
2017-10-22 08:07:36 +00:00
"description": "Page size. The default page size is the maximum value of 1000 results.",
"format": "int32"
},
"messageTypes": {
2017-10-22 08:07:36 +00:00
"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"
2017-10-22 08:07:36 +00:00
]
},
"parent": {
"location": "path",
"description": "Transfer run name in the form:\n`projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}`.",
"required": true,
2017-10-22 08:07:36 +00:00
"type": "string",
"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+/runs/[^/]+$"
}
},
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}/runs/{runsId}/transferLogs",
"path": "v1/{+parent}/transferLogs",
2017-10-22 08:07:36 +00:00
"id": "bigquerydatatransfer.projects.locations.transferConfigs.runs.transferLogs.list"
}
}
2017-09-21 15:48:45 +00:00
}
}
}
2017-10-22 08:07:36 +00:00
}
}
}
},
"dataSources": {
"methods": {
"get": {
"parameters": {
"name": {
"description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/dataSources/{data_source_id}`",
"required": true,
"type": "string",
"pattern": "^projects/[^/]+/dataSources/[^/]+$",
"location": "path"
}
2017-09-21 15:48:45 +00:00
},
2017-10-22 08:07:36 +00:00
"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.",
"httpMethod": "GET",
"response": {
"$ref": "DataSource"
},
"parameterOrder": [
"name"
]
},
"list": {
"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": {
"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"
2017-09-21 15:48:45 +00:00
},
2017-10-22 08:07:36 +00:00
"pageSize": {
"location": "query",
"description": "Page size. The default page size is the maximum value of 1000 results.",
"format": "int32",
"type": "integer"
2017-09-21 15:48:45 +00:00
},
2017-10-22 08:07:36 +00:00
"parent": {
"description": "The BigQuery project id for which data sources should be returned.\nMust be in the form: `projects/{project_id}`",
"required": true,
"type": "string",
"pattern": "^projects/[^/]+$",
"location": "path"
}
},
"flatPath": "v1/projects/{projectsId}/dataSources",
"path": "v1/{+parent}/dataSources",
"id": "bigquerydatatransfer.projects.dataSources.list",
"description": "Lists supported data sources and returns their settings,\nwhich can be used for UI rendering."
},
"checkValidCreds": {
"response": {
"$ref": "CheckValidCredsResponse"
},
"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": {
"location": "path",
"description": "The data source in the form:\n`projects/{project_id}/dataSources/{data_source_id}`",
"required": true,
"type": "string",
"pattern": "^projects/[^/]+/dataSources/[^/]+$"
}
},
"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.\nSome data sources doesn't support service account, so we need to talk to\nthem on behalf of the end user. This API just checks whether we have OAuth\ntoken for the particular user, which is a pre-requisite before user can\ncreate a transfer config.",
"request": {
"$ref": "CheckValidCredsRequest"
}
}
}
},
"transferConfigs": {
"methods": {
"get": {
"id": "bigquerydatatransfer.projects.transferConfigs.get",
"path": "v1/{+name}",
"description": "Returns information about a data transfer config.",
"httpMethod": "GET",
"parameterOrder": [
"name"
],
"response": {
"$ref": "TransferConfig"
},
"parameters": {
"name": {
"description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}`",
"required": true,
"type": "string",
"pattern": "^projects/[^/]+/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}/transferConfigs/{transferConfigsId}"
},
"patch": {
"description": "Updates a data transfer configuration.\nAll fields must be set, even if they are not updated.",
"request": {
"$ref": "TransferConfig"
},
"response": {
"$ref": "TransferConfig"
},
"parameterOrder": [
"name"
],
"httpMethod": "PATCH",
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"name": {
"required": true,
"type": "string",
"pattern": "^projects/[^/]+/transferConfigs/[^/]+$",
"location": "path",
"description": "The resource name of the transfer config.\nTransfer config 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\nconfig."
2017-09-21 15:48:45 +00:00
},
2017-10-22 08:07:36 +00:00
"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"
},
2017-10-22 08:07:36 +00:00
"updateMask": {
"description": "Required list of fields to be updated in this request.",
"format": "google-fieldmask",
"type": "string",
"location": "query"
}
},
"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}",
"path": "v1/{+name}",
"id": "bigquerydatatransfer.projects.transferConfigs.patch"
},
"delete": {
"description": "Deletes a data transfer configuration,\nincluding any associated transfer runs and logs.",
"httpMethod": "DELETE",
"parameterOrder": [
"name"
],
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"name": {
"required": true,
"type": "string",
"pattern": "^projects/[^/]+/transferConfigs/[^/]+$",
"location": "path",
"description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}`"
}
},
"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}",
"id": "bigquerydatatransfer.projects.transferConfigs.delete",
"path": "v1/{+name}"
},
"list": {
"httpMethod": "GET",
"parameterOrder": [
"parent"
],
"response": {
"$ref": "ListTransferConfigsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
],
"parameters": {
"pageToken": {
"type": "string",
"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."
},
"pageSize": {
"location": "query",
"description": "Page size. The default page size is the maximum value of 1000 results.",
"format": "int32",
"type": "integer"
},
"parent": {
"description": "The BigQuery project id for which data sources\nshould be returned: `projects/{project_id}`.",
"required": true,
"type": "string",
"pattern": "^projects/[^/]+$",
"location": "path"
},
"dataSourceIds": {
"repeated": true,
"location": "query",
"description": "When specified, only configurations of requested data sources are returned.",
"type": "string"
}
},
"flatPath": "v1/projects/{projectsId}/transferConfigs",
"id": "bigquerydatatransfer.projects.transferConfigs.list",
"path": "v1/{+parent}/transferConfigs",
"description": "Returns information about all data transfers in the project."
},
"create": {
"path": "v1/{+parent}/transferConfigs",
"id": "bigquerydatatransfer.projects.transferConfigs.create",
"description": "Creates a new data transfer configuration.",
"request": {
"$ref": "TransferConfig"
},
"response": {
"$ref": "TransferConfig"
},
"parameterOrder": [
"parent"
],
"httpMethod": "POST",
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"authorizationCode": {
"type": "string",
"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."
},
"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.",
"required": true,
"type": "string",
"pattern": "^projects/[^/]+$",
"location": "path"
}
},
"flatPath": "v1/projects/{projectsId}/transferConfigs"
},
"scheduleRuns": {
"response": {
"$ref": "ScheduleTransferRunsResponse"
},
"parameterOrder": [
"parent"
],
"httpMethod": "POST",
"parameters": {
"parent": {
"location": "path",
"description": "Transfer configuration name in the form:\n`projects/{project_id}/transferConfigs/{config_id}`.",
"required": true,
"type": "string",
"pattern": "^projects/[^/]+/transferConfigs/[^/]+$"
}
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}:scheduleRuns",
"path": "v1/{+parent}:scheduleRuns",
"id": "bigquerydatatransfer.projects.transferConfigs.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."
}
},
"resources": {
"runs": {
"methods": {
"delete": {
"response": {
"$ref": "Empty"
},
2017-10-22 08:07:36 +00:00
"parameterOrder": [
"name"
],
"httpMethod": "DELETE",
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
],
2017-09-21 15:48:45 +00:00
"parameters": {
2017-10-22 08:07:36 +00:00
"name": {
"location": "path",
"description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`",
2017-09-21 15:48:45 +00:00
"required": true,
2017-10-22 08:07:36 +00:00
"type": "string",
"pattern": "^projects/[^/]+/transferConfigs/[^/]+/runs/[^/]+$"
2017-09-21 15:48:45 +00:00
}
},
2017-10-22 08:07:36 +00:00
"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}/runs/{runsId}",
"path": "v1/{+name}",
"id": "bigquerydatatransfer.projects.transferConfigs.runs.delete",
"description": "Deletes the specified transfer run."
2017-09-21 15:48:45 +00:00
},
"get": {
"response": {
2017-10-22 08:07:36 +00:00
"$ref": "TransferRun"
2017-09-21 15:48:45 +00:00
},
"parameterOrder": [
"name"
],
"httpMethod": "GET",
2017-09-21 15:48:45 +00:00
"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": {
"location": "path",
2017-10-22 08:07:36 +00:00
"description": "The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`",
"required": true,
"type": "string",
2017-10-22 08:07:36 +00:00
"pattern": "^projects/[^/]+/transferConfigs/[^/]+/runs/[^/]+$"
2017-09-21 15:48:45 +00:00
}
},
2017-10-22 08:07:36 +00:00
"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."
2017-09-21 15:48:45 +00:00
},
2017-10-22 08:07:36 +00:00
"list": {
2017-09-21 15:48:45 +00:00
"response": {
2017-10-22 08:07:36 +00:00
"$ref": "ListTransferRunsResponse"
2017-09-21 15:48:45 +00:00
},
"parameterOrder": [
2017-10-22 08:07:36 +00:00
"parent"
2017-09-21 15:48:45 +00:00
],
2017-10-22 08:07:36 +00:00
"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"
],
2017-10-22 08:07:36 +00:00
"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"
},
"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"
},
"pageSize": {
"description": "Page size. The default page size is the maximum value of 1000 results.",
"format": "int32",
"type": "integer",
"location": "query"
},
"runAttempt": {
"location": "query",
"enum": [
"RUN_ATTEMPT_UNSPECIFIED",
"LATEST"
],
"description": "Indicates how run attempts are to be pulled.",
"type": "string"
},
"parent": {
"location": "path",
"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}`.",
"required": true,
"type": "string",
"pattern": "^projects/[^/]+/transferConfigs/[^/]+$"
}
},
"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}/runs",
"path": "v1/{+parent}/runs",
"id": "bigquerydatatransfer.projects.transferConfigs.runs.list",
"description": "Returns information about running and completed jobs."
}
},
"resources": {
"transferLogs": {
"methods": {
"list": {
"description": "Returns user facing log messages for the data transfer run.",
"response": {
"$ref": "ListTransferLogsResponse"
},
"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": {
"pageSize": {
"location": "query",
"description": "Page size. The default page size is the maximum value of 1000 results.",
"format": "int32",
"type": "integer"
},
"messageTypes": {
"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",
"repeated": true
},
"parent": {
"location": "path",
"description": "Transfer run name in the form:\n`projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}`.",
"required": true,
"type": "string",
"pattern": "^projects/[^/]+/transferConfigs/[^/]+/runs/[^/]+$"
},
"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"
}
},
"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}/runs/{runsId}/transferLogs",
"path": "v1/{+parent}/transferLogs",
"id": "bigquerydatatransfer.projects.transferConfigs.runs.transferLogs.list"
}
}
2017-09-21 15:48:45 +00:00
}
}
}
}
2017-09-13 12:09:48 +00:00
}
}
}
},
"parameters": {
2017-10-22 08:07:36 +00:00
"uploadType": {
"location": "query",
2017-10-22 08:07:36 +00:00
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"type": "string"
},
2017-10-22 08:07:36 +00:00
"fields": {
"location": "query",
2017-10-22 08:07:36 +00:00
"description": "Selector specifying which fields to include in a partial response.",
"type": "string"
},
2017-10-22 08:07:36 +00:00
"$.xgafv": {
"enum": [
"1",
"2"
],
"description": "V1 error format.",
"type": "string",
2017-10-22 08:07:36 +00:00
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query"
},
2017-10-22 08:07:36 +00:00
"callback": {
"description": "JSONP",
"type": "string",
"location": "query"
},
2017-10-22 08:07:36 +00:00
"alt": {
"enum": [
"json",
"media",
"proto"
],
"type": "string",
2017-10-22 08:07:36 +00:00
"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",
2017-10-22 08:07:36 +00:00
"description": "Data format for response.",
"default": "json"
},
2017-10-22 08:07:36 +00:00
"key": {
"location": "query",
2017-10-22 08:07:36 +00:00
"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"
},
2017-10-22 08:07:36 +00:00
"access_token": {
"location": "query",
2017-10-22 08:07:36 +00:00
"description": "OAuth access token.",
"type": "string"
},
"quotaUser": {
"location": "query",
"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"
},
"pp": {
"location": "query",
"description": "Pretty-print response.",
"type": "boolean",
"default": "true"
},
2017-10-22 08:07:36 +00:00
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"type": "string",
"location": "query"
},
2017-10-22 08:07:36 +00:00
"bearer_token": {
"location": "query",
2017-10-22 08:07:36 +00:00
"description": "OAuth bearer token.",
"type": "string"
},
2017-10-22 08:07:36 +00:00
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type": "string",
"location": "query"
},
2017-10-22 08:07:36 +00:00
"prettyPrint": {
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"default": "true",
"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": "",
2017-10-22 08:07:36 +00:00
"revision": "20171016",
"documentationLink": "https://cloud.google.com/bigquery/",
2017-10-22 08:07:36 +00:00
"id": "bigquerydatatransfer:v1",
"discoveryVersion": "v1",
"version_module": true,
"schemas": {
2017-10-22 08:07:36 +00:00
"DataSource": {
"description": "Represents data source metadata. Metadata is sufficient to\nrender UI and request proper OAuth tokens.",
"type": "object",
"properties": {
2017-10-22 08:07:36 +00:00
"parameters": {
"description": "Data source parameters.",
"type": "array",
"items": {
"$ref": "DataSourceParameter"
2017-10-22 08:07:36 +00:00
}
},
2017-10-22 08:07:36 +00:00
"helpUrl": {
"description": "Url for the help document for this data source.",
"type": "string"
},
2017-10-22 08:07:36 +00:00
"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"
},
2017-10-22 08:07:36 +00:00
"supportsMultipleTransfers": {
"description": "Indicates whether the data source supports multiple transfers\nto different BigQuery targets.",
"type": "boolean"
},
2017-10-22 08:07:36 +00:00
"manualRunsDisabled": {
"description": "Disables backfilling and manual run scheduling\nfor the data source.",
"type": "boolean"
},
2017-10-22 08:07:36 +00:00
"defaultDataRefreshWindowDays": {
"description": "Default data refresh window on days.\nOnly meaningful when `data_refresh_type` = `SLIDING_WINDOW`.",
"format": "int32",
"type": "integer"
},
2017-10-22 08:07:36 +00:00
"transferType": {
"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": "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"
},
2017-10-22 08:07:36 +00:00
"description": {
"type": "string",
2017-10-22 08:07:36 +00:00
"description": "User friendly data source description string."
},
"dataSourceId": {
"description": "Data source id.",
"type": "string"
},
"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",
2017-10-22 08:07:36 +00:00
"type": "array",
"items": {
"type": "string"
2017-10-22 08:07:36 +00:00
}
},
"name": {
2017-10-22 08:07:36 +00:00
"type": "string",
"description": "Data source resource name."
},
"minimumScheduleInterval": {
"description": "The minimum interval between two consecutive scheduled runs.",
2017-10-22 08:07:36 +00:00
"format": "google-duration",
"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": {
"type": "string",
"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"
2017-10-22 08:07:36 +00:00
],
"description": "Indicates the type of authorization."
},
"supportsCustomSchedule": {
2017-10-22 08:07:36 +00:00
"type": "boolean",
"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."
},
"displayName": {
2017-10-22 08:07:36 +00:00
"type": "string",
"description": "User friendly data source name."
},
"updateDeadlineSeconds": {
"description": "The number of seconds to wait for an update from the data source\nbefore BigQuery marks the transfer as failed.",
2017-10-22 08:07:36 +00:00
"format": "int32",
"type": "integer"
},
"dataRefreshType": {
2017-10-22 08:07:36 +00:00
"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"
],
2017-10-22 08:07:36 +00:00
"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."
}
2017-10-22 08:07:36 +00:00
},
"id": "DataSource"
2017-09-13 12:09:48 +00:00
},
"ScheduleTransferRunsRequest": {
"description": "A request to schedule transfer runs for a time range.",
"type": "object",
"properties": {
"endTime": {
"description": "End time of the range of transfer runs. For example,\n`\"2017-05-30T00:00:00+00:00\"`.",
2017-10-22 08:07:36 +00:00
"format": "google-datetime",
"type": "string"
},
"startTime": {
2017-10-22 08:07:36 +00:00
"description": "Start time of the range of transfer runs. For example,\n`\"2017-05-25T00:00:00+00:00\"`.",
"format": "google-datetime",
2017-10-22 08:07:36 +00:00
"type": "string"
}
},
"id": "ScheduleTransferRunsRequest"
2017-08-05 18:17:15 +00:00
},
"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": {},
"id": "Empty"
2017-09-13 12:09:48 +00:00
},
"Location": {
"description": "A resource that represents Google Cloud Platform location.",
"type": "object",
"properties": {
"name": {
2017-10-22 08:07:36 +00:00
"type": "string",
"description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`"
},
"locationId": {
2017-10-22 08:07:36 +00:00
"description": "The canonical id for this location. For example: `\"us-east1\"`.",
"type": "string"
},
"metadata": {
2017-10-22 08:07:36 +00:00
"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"
2017-10-22 08:07:36 +00:00
}
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}",
"type": "object"
}
},
"id": "Location"
2017-09-13 12:09:48 +00:00
},
"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": {
2017-10-22 08:07:36 +00:00
"state": {
"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"
],
"description": "Output only. State of the most recently updated transfer run."
},
"name": {
"description": "The resource name of the transfer config.\nTransfer config 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\nconfig.",
"type": "string"
},
"destinationDatasetId": {
"description": "The BigQuery target dataset id.",
"type": "string"
},
"userId": {
"description": "Output only. Unique ID of the user on whose behalf transfer is done.\nApplicable only to data sources that do not support service accounts.\nWhen set to 0, the data source service account credentials are used.",
"format": "int64",
"type": "string"
},
"params": {
"description": "Data transfer specific parameters.",
2017-10-22 08:07:36 +00:00
"type": "object",
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
}
},
"datasetRegion": {
2017-10-22 08:07:36 +00:00
"description": "Output only. Region in which BigQuery dataset is located.",
"type": "string"
},
"displayName": {
"description": "User specified display name for the data transfer.",
"type": "string"
},
2017-10-22 08:07:36 +00:00
"nextRunTime": {
"description": "Output only. Next time when data transfer will run.",
"format": "google-datetime",
"type": "string"
},
"disabled": {
"description": "Is this config disabled. When set to true, no runs are scheduled\nfor a given transfer.",
"type": "boolean"
},
2017-10-22 08:07:36 +00:00
"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"
},
"updateTime": {
"description": "Output only. Data transfer modification time. Ignored by server on input.",
"format": "google-datetime",
"type": "string"
},
"dataRefreshWindowDays": {
"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.",
"format": "int32",
"type": "integer"
},
"dataSourceId": {
"description": "Data source id. Cannot be changed once data transfer is created.",
"type": "string"
}
},
"id": "TransferConfig"
},
"TransferRun": {
"description": "Represents a data transfer run.",
"type": "object",
"properties": {
"params": {
"type": "object",
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Data transfer specific parameters."
},
"endTime": {
"description": "Output only. Time when transfer run ended.\nParameter ignored by server for input requests.",
"format": "google-datetime",
"type": "string"
},
"startTime": {
"description": "Output only. Time when transfer run was started.\nParameter ignored by server for input requests.",
"format": "google-datetime",
"type": "string"
},
"datasetRegion": {
"description": "Output only. Region in which BigQuery dataset is located.",
"type": "string"
},
"scheduleTime": {
"description": "Minimum time after which a transfer run can be started.",
"format": "google-datetime",
"type": "string"
},
"updateTime": {
"description": "Output only. Last time the data transfer run state was updated.",
"format": "google-datetime",
"type": "string"
},
"schedule": {
2017-10-22 08:07:36 +00:00
"description": "Output only. Describes the schedule of this transfer run if it was\ncreated as part of a regular schedule. For batch transfer runs that are\nscheduled manually, this is empty.\nNOTE: the system might choose to delay the schedule depending on the\ncurrent load, so `schedule_time` doesn't always matches this.",
"type": "string"
},
2017-10-22 08:07:36 +00:00
"runTime": {
"type": "string",
2017-10-22 08:07:36 +00:00
"description": "For batch transfer runs, specifies the date and time that\ndata should be ingested.",
"format": "google-datetime"
},
"dataSourceId": {
2017-10-22 08:07:36 +00:00
"description": "Output only. Data source id.",
"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"
],
2017-10-22 08:07:36 +00:00
"description": "Output only. Data transfer run state. Ignored for input requests.",
"type": "string"
},
"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": {
2017-10-22 08:07:36 +00:00
"description": "Output only. Unique ID of the user on whose behalf transfer is done.\nApplicable only to data sources that do not support service accounts.\nWhen set to 0, the data source service account credentials are used.",
"format": "int64",
2017-10-22 08:07:36 +00:00
"type": "string"
}
},
"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": {
"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"
}
},
"id": "CheckValidCredsResponse"
},
"ScheduleTransferRunsResponse": {
"type": "object",
"properties": {
"runs": {
"description": "The transfer runs that were scheduled.",
"type": "array",
"items": {
"$ref": "TransferRun"
}
}
},
"id": "ScheduleTransferRunsResponse",
"description": "A response to schedule transfer runs for a time range."
},
"ListTransferLogsResponse": {
"description": "The returned list transfer run messages.",
"type": "object",
"properties": {
"nextPageToken": {
"description": "Output only. 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.",
"type": "string"
},
2017-10-22 08:07:36 +00:00
"transferMessages": {
"description": "Output only. The stored pipeline transfer messages.",
"type": "array",
"items": {
"$ref": "TransferMessage"
}
}
},
"id": "ListTransferLogsResponse"
},
"TransferMessage": {
"id": "TransferMessage",
"description": "Represents a user facing message for a particular data transfer run.",
"type": "object",
"properties": {
"messageTime": {
"description": "Time when message was logged.",
"format": "google-datetime",
"type": "string"
},
2017-10-22 08:07:36 +00:00
"severity": {
"enumDescriptions": [
"No severity specified.",
"Informational message.",
"Warning message.",
"Error message."
],
"enum": [
"MESSAGE_SEVERITY_UNSPECIFIED",
"INFO",
"WARNING",
"ERROR"
],
"description": "Message severity.",
"type": "string"
},
"messageText": {
"description": "Message text.",
"type": "string"
}
}
2017-10-22 08:07:36 +00:00
},
"ListDataSourcesResponse": {
"type": "object",
"properties": {
"dataSources": {
"description": "List of supported data sources and their transfer settings.",
"type": "array",
"items": {
"$ref": "DataSource"
}
},
2017-10-22 08:07:36 +00:00
"nextPageToken": {
"description": "Output only. 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.",
"type": "string"
}
},
"id": "ListDataSourcesResponse",
"description": "Returns list of supported data sources and their metadata."
},
"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": {
"fields": {
"description": "When parameter is a record, describes child fields.",
"type": "array",
"items": {
"$ref": "DataSourceParameter"
}
},
2017-10-22 08:07:36 +00:00
"maxValue": {
"description": "For integer and double values specifies maxminum allowed value.",
"format": "double",
"type": "number"
},
"type": {
"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"
],
"description": "Parameter type.",
"type": "string"
},
"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.",
"type": "array",
"items": {
"type": "string"
}
},
"minValue": {
"description": "For integer and double values specifies minimum allowed value.",
"format": "double",
"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"
}
},
"id": "DataSourceParameter"
},
"ListTransferRunsResponse": {
"description": "The returned list of pipelines in the project.",
"type": "object",
"properties": {
"transferRuns": {
"description": "Output only. The stored pipeline transfer runs.",
"type": "array",
"items": {
"$ref": "TransferRun"
}
},
"nextPageToken": {
"description": "Output only. 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.",
"type": "string"
}
},
"id": "ListTransferRunsResponse"
},
"ListLocationsResponse": {
"id": "ListLocationsResponse",
"description": "The response message for Locations.ListLocations.",
"type": "object",
"properties": {
"nextPageToken": {
"description": "The standard List next-page token.",
"type": "string"
},
"locations": {
"description": "A list of locations that matches the specified filter in the request.",
"type": "array",
"items": {
"$ref": "Location"
}
}
}
2017-10-22 08:07:36 +00:00
},
"ListTransferConfigsResponse": {
"properties": {
"transferConfigs": {
"description": "Output only. The stored pipeline transfer configurations.",
"type": "array",
"items": {
"$ref": "TransferConfig"
}
},
"nextPageToken": {
"type": "string",
"description": "Output only. 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."
}
},
"id": "ListTransferConfigsResponse",
"description": "The returned list of pipelines in the project.",
"type": "object"
}
},
2017-10-22 08:07:36 +00:00
"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"
}
2017-08-05 18:17:15 +00:00
}