Menampilkan daftar pekerjaan impor file Google Cloud Storage (GCS).
Coba sekarang
Test
RAM authorization
Sintaks permintaan
GET /gcsingestions HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama proyek. |
testproject |
| offset |
integer |
No |
Posisi awal pengembalian hasil. Nilai default: 0. |
0 |
| size |
integer |
No |
Jumlah hasil yang dikembalikan pada setiap halaman. |
100 |
| logstore |
string |
No |
Nama penyimpanan log. |
test |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The schema of the response. |
||
| total |
integer |
The total number of entries that match the query. |
100 |
| count |
integer |
The number of jobs returned on the current page. |
100 |
| results |
array |
The details of the job configurations. |
|
| GCSIngestion |
The details of the job configuration. |
Contoh
Respons sukses
JSONformat
{
"total": 100,
"count": 100,
"results": [
{
"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.