GetGCSIngestion
Updated at:
Copy as MD
Retrieves a Google Cloud Storage (GCS) file import task.
Try it now
Test
RAM authorization
Request syntax
GET /gcsingestions/{gcsIngestionName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| gcsIngestionName |
string |
Yes |
The name of the GCS import task. |
ingest-gcs-12345 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
test |
Response elements
|
Element |
Type |
Description |
Example |
| GCSIngestion |
The GCS import task. |
Examples
Success response
JSON format
{
"name": "ingest-gcs-123456",
"description": "gcs ingestion",
"displayName": "gcs ingestion",
"configuration": {
"logstore": "myLogstore",
"source": {
"endpoint": "oss-cn-hangzhou.aliyuncs.com",
"bucket": "gcsbucket",
"compressionCodec": "none",
"encoding": "UTF-8",
"interval": "never",
"pattern": ".*",
"prefix": "prefix",
"restoreObjectEnabled": false,
"startTime": 1714274081,
"endTime": 1714360481,
"timeField": "__time__",
"timeFormat": "yyyy-MM-dd HH:mm:ss",
"timePattern": "[0-9]{0,2}\\/[0-9a-zA-Z]+\\/[0-9:,]+",
"timeZone": "GMT+08:00",
"tagPackId": false,
"processorId": "ingest-processor-1756802123-953901",
"accessKeyId": "",
"accessKeySecret": "",
"format": {
"key": ""
}
}
},
"createTime": 1714360481,
"status": "RUNNING",
"scheduleId": "c7f01719d9feb105fc9d8df92af62010",
"lastModifiedTime": 1714360581
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.
Is this page helpful?