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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ csv 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
Type Description
Csv|null

hasCsv

setCsv

A CSV file attachment. Max size is 10 MB.

Parameter
Name Description
var Csv
Returns
Type Description
$this

getDisplayName

The title of the attachment.

Returns
Type Description
string

setDisplayName

The title of the attachment.

Parameter
Name Description
var string
Returns
Type Description
$this

getData

Returns
Type Description
string