Google Cloud Storage Control V2 Client - Class ListManagedFoldersRequest (1.0.2)

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

Request message for ListManagedFolders.

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

Namespace

Google \ Cloud \ Storage \ Control \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Name of the bucket this managed folder belongs to.

↳ page_size int

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

↳ page_token string

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

↳ prefix string

Optional. Filter results to match managed folders with name starting with this prefix.

↳ request_id string

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

getParent

Required. Name of the bucket this managed folder belongs to.

Returns
Type Description
string

setParent

Required. Name of the bucket this managed folder belongs to.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. Maximum number of managed folders to return in a single response.

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

Returns
Type Description
int

setPageSize

Optional. Maximum number of managed folders 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

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

Returns
Type Description
string

setPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this

getPrefix

Optional. Filter results to match managed folders with name starting with this prefix.

Returns
Type Description
string

setPrefix

Optional. Filter results to match managed folders with name starting with this prefix.

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. Name of the bucket this managed folder belongs to. Please see StorageControlClient::bucketName() for help formatting this field.

Returns
Type Description
ListManagedFoldersRequest