Google Cloud Support V2 Client - Class ListAttachmentsRequest (0.1.2)

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

The request message for the ListAttachments endpoint.

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

Namespace

Google \ Cloud \ Support \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of Case object for which attachments should be listed.

↳ page_size int

The maximum number of attachments fetched with each request. If not provided, the default is 10. The maximum page size that will be returned is 100.

↳ page_token string

A token identifying the page of results to return. If unspecified, the first page is retrieved.

getParent

Required. The resource name of Case object for which attachments should be listed.

Returns
TypeDescription
string

setParent

Required. The resource name of Case object for which attachments should be listed.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of attachments fetched with each request. If not provided, the default is 10. The maximum page size that will be returned is 100.

Returns
TypeDescription
int

setPageSize

The maximum number of attachments fetched with each request. If not provided, the default is 10. The maximum page size that will be returned is 100.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A token identifying the page of results to return. If unspecified, the first page is retrieved.

Returns
TypeDescription
string

setPageToken

A token identifying the page of results to return. If unspecified, the first page is retrieved.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The resource name of Case object for which attachments should be listed. Please see Google\Cloud\Support\V2\CaseAttachmentServiceClient::caseName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Support\V2\ListAttachmentsRequest