Mengambil tugas impor file Google Cloud Storage (GCS).
Coba sekarang
Test
RAM authorization
Sintaks permintaan
GET /gcsingestions/{gcsIngestionName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| gcsIngestionName |
string |
Yes |
Nama tugas impor GCS. |
ingest-gcs-12345 |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama proyek. |
test |
Elemen respons
|
Element |
Type |
Description |
Example |
| GCSIngestion |
The GCS import task. |
Contoh
Respons sukses
JSONformat
{
"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
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.