Google Cloud Storage Control V2 Client - Class ListAnywhereCachesRequest (1.3.0)

Reference documentation and code samples for the Google Cloud Storage Control V2 Client class ListAnywhereCachesRequest.

Request message for ListAnywhereCaches.

Generated from protobuf message google.storage.control.v2.ListAnywhereCachesRequest

Namespace

Google \ Cloud \ Storage \ Control \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent
string

Required. The bucket to which this cache belongs.

↳ page_size
int

Maximum number of caches to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.

↳ page_token
string

A previously-returned page token representing part of the larger set of results to view.

↳ request_id
string

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

getParent

Required. The bucket to which this cache belongs.

Returns
Type
Description
string

setParent

Required. The bucket to which this cache belongs.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getPageSize

Maximum number of caches to return in a single response.

The service will use this parameter or 1,000 items, whichever is smaller.

Returns
Type
Description
int

setPageSize

Maximum number of caches to return in a single response.

The service will use this parameter or 1,000 items, whichever is smaller.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getPageToken

A previously-returned page token representing part of the larger set of results to view.

Returns
Type
Description
string

setPageToken

A previously-returned page token representing part of the larger set of results to view.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getRequestId

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Returns
Type
Description
string

setRequestId

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

static::build

Parameter
Name
Description
parent
string

Required. The bucket to which this cache belongs. Please see StorageControlClient::bucketName() for help formatting this field.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: