Google Cloud Advisory Notifications V1 Client - Class Attachment (0.6.0)

Reference documentation and code samples for the Google Cloud Advisory Notifications V1 Client class Attachment.

Attachment with specific information about the issue.

Generated from protobuf message google.cloud.advisorynotifications.v1.Attachment

Namespace

Google \ Cloud \ AdvisoryNotifications \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ csv Google\Cloud\AdvisoryNotifications\V1\Csv

A CSV file attachment. Max size is 10 MB.

↳ display_name string

The title of the attachment.

getCsv

A CSV file attachment. Max size is 10 MB.

Returns
TypeDescription
Google\Cloud\AdvisoryNotifications\V1\Csv|null

hasCsv

setCsv

A CSV file attachment. Max size is 10 MB.

Parameter
NameDescription
var Google\Cloud\AdvisoryNotifications\V1\Csv
Returns
TypeDescription
$this

getDisplayName

The title of the attachment.

Returns
TypeDescription
string

setDisplayName

The title of the attachment.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getData

Returns
TypeDescription
string