Reference documentation and code samples for the Google Cloud Advisory Notifications V1 Client class Csv.
A representation of a CSV file attachment, as a list of column headers and a list of data rows.
Generated from protobuf message google.cloud.advisorynotifications.v1.Csv
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ headers |
array
The list of headers for data columns in a CSV file. |
↳ data_rows |
array<Google\Cloud\AdvisoryNotifications\V1\Csv\CsvRow>
The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string. |
getHeaders
The list of headers for data columns in a CSV file.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setHeaders
The list of headers for data columns in a CSV file.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getDataRows
The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDataRows
The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\AdvisoryNotifications\V1\Csv\CsvRow>
|
Returns | |
---|---|
Type | Description |
$this |