Google Cloud Support V2 Client - Class ListAttachmentsResponse (0.1.2)

Reference documentation and code samples for the Google Cloud Support V2 Client class ListAttachmentsResponse.

The response message for the ListAttachments endpoint.

Generated from protobuf message google.cloud.support.v2.ListAttachmentsResponse

Namespace

Google \ Cloud \ Support \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ attachments array<Google\Cloud\Support\V2\Attachment>

The list of attachments associated with the given case.

↳ next_page_token string

A token to retrieve the next page of results. This should be set in the page_token field of subsequent cases.attachments.list requests. If unspecified, there are no more results to retrieve.

getAttachments

The list of attachments associated with the given case.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAttachments

The list of attachments associated with the given case.

Parameter
NameDescription
var array<Google\Cloud\Support\V2\Attachment>
Returns
TypeDescription
$this

getNextPageToken

A token to retrieve the next page of results. This should be set in the page_token field of subsequent cases.attachments.list requests. If unspecified, there are no more results to retrieve.

Returns
TypeDescription
string

setNextPageToken

A token to retrieve the next page of results. This should be set in the page_token field of subsequent cases.attachments.list requests. If unspecified, there are no more results to retrieve.

Parameter
NameDescription
var string
Returns
TypeDescription
$this