Attachment

Attachment with application-specific information about an alert.

JSON representation
 { 
 // Union field data 
can be only one of the following: 
 "csv" 
 : 
 { 
 object (  Csv 
 
) 
 } 
 // End of list of possible types for union field data 
. 
 } 
Fields
Union field data . Data type of the attachment. data can be only one of the following:
csv

object ( Csv )

A CSV file attachment.

Csv

A representation of a CSV file attachment, as a list of column headers and a list of data rows.

JSON representation
 { 
 "headers" 
 : 
 [ 
 string 
 ] 
 , 
 "dataRows" 
 : 
 [ 
 { 
 object (  CsvRow 
 
) 
 } 
 ] 
 } 
Fields
headers[]

string

The list of headers for data columns in a CSV file.

dataRows[]

object ( CsvRow )

The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.

CsvRow

A representation of a single data row in a CSV file.

JSON representation
 { 
 "entries" 
 : 
 [ 
 string 
 ] 
 } 
Fields
entries[]

string

The data entries in a CSV file row, as a string array rather than a single comma-separated string.

Create a Mobile Website
View Site in Mobile | Classic
Share by: