Google Cloud Support V2 Client - Class ListAttachmentsRequest (1.0.1)

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
Name Description
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
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var int
Returns
Type Description
$this

getPageToken

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

Returns
Type Description
string

setPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

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

Returns
Type Description
ListAttachmentsRequest