Attachment
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
// Union field data can be only one of the following:
"csv": {
object (Csv )
}
// End of list of possible types for union field data .
} |
字段 |
联合字段 data 。附件的数据类型。data 只能是下列其中一项: |
csv |
object (Csv )
CSV 文件附件。
|
CSV
CSV 文件附件的表示形式,以列标题列表和数据行列表的形式。
JSON 表示法 |
{
"headers": [
string
],
"dataRows": [
{
object (CsvRow )
}
]
} |
字段 |
dataRows[] |
object (CsvRow )
CSV 文件中的数据行列表,以字符串数组的形式(而非单个逗号分隔的字符串)提供。
|
CsvRow
JSON 表示法 |
{
"entries": [
string
]
} |
字段 |
entries[] |
string
CSV 文件行中的数据条目,以字符串数组(而非单个逗号分隔的字符串)的形式提供。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-03-25。
[null,null,["最后更新时间 (UTC):2025-03-25。"],[],[],null,["# Attachment\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [Csv](#Csv)\n - [JSON representation](#Csv.SCHEMA_REPRESENTATION)\n- [CsvRow](#CsvRow)\n - [JSON representation](#CsvRow.SCHEMA_REPRESENTATION)\n\nAttachment with application-specific information about an alert.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `data` can be only one of the following: \"csv\": { object (/workspace/admin/alertcenter/reference/rest/v1beta1/Attachment#Csv) } // End of list of possible types for union field `data`. } ``` |\n\n| Fields ||\n|-------|---------------------------------------------------------------------------------------------------------------|\n| Union field `data`. Data type of the attachment. `data` can be only one of the following: ||\n| `csv` | `object (`[Csv](/workspace/admin/alertcenter/reference/rest/v1beta1/Attachment#Csv)`)` A CSV file attachment. |\n\nCsv\n---\n\nA representation of a CSV file attachment, as a list of column headers and a list of data rows.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"headers\": [ string ], \"dataRows\": [ { object (/workspace/admin/alertcenter/reference/rest/v1beta1/Attachment#CsvRow) } ] } ``` |\n\n| Fields ||\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `headers[]` | `string` The list of headers for data columns in a CSV file. |\n| `dataRows[]` | `object (`[CsvRow](/workspace/admin/alertcenter/reference/rest/v1beta1/Attachment#CsvRow)`)` The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string. |\n\nCsvRow\n------\n\nA representation of a single data row in a CSV file.\n\n| JSON representation |\n|-----------------------------------|\n| ``` { \"entries\": [ string ] } ``` |\n\n| Fields ||\n|-------------|-------------------------------------------------------------------------------------------------------------|\n| `entries[]` | `string` The data entries in a CSV file row, as a string array rather than a single comma-separated string. |"]]