全部產品
Search
文件中心

Simple Log Service:ListGCSIngestions - 列出gcs匯入任務

更新時間:May 08, 2026

列出GCP Cloud Storage檔案匯入任務

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

GET /gcsingestions HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

project

string

是

project 名稱。

testproject

offset

integer

否

返回結果在全部資料集中的位移位置, 預設為 0 。

0

size

integer

否

分頁查詢時,設定的每頁行數。

100

logstore

string

否

Logstore 名稱

test

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

total

integer

符合查詢條件的總數。

100

count

integer

當前頁返回的任務個數。

100

results

array

任務配置詳細

GCSIngestion

任務配置詳細

樣本

正常返回樣本

JSON格式

{
  "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": true,
          "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": true,
          "processorId": "ingest-processor-1756802123-953901",
          "accessKeyId": "",
          "accessKeySecret": "",
          "format": {
            "key": ""
          }
        }
      },
      "createTime": 1714360481,
      "status": "RUNNING",
      "scheduleId": "c7f01719d9feb105fc9d8df92af62010",
      "lastModifiedTime": 1714360581
    }
  ]
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情。