GetGCSIngestion - 获取gcs导入任务

更新时间:
复制为 MD 格式

获取GCP Cloud Storage文件导入任务

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

GET /gcsingestions/{gcsIngestionName} HTTP/1.1

路径参数

名称

类型

必填

描述

示例值

gcsIngestionName

string

gcs 导入任务名称

ingest-gcs-12345

请求参数

名称

类型

必填

描述

示例值

project

string

project 名称

test

返回参数

名称

类型

描述

示例值

GCSIngestion

gcs 导入任务

示例

正常返回示例

JSON格式

{
  "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": 0
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情