Google Cloud Resource Manager V3 Client - Class ListFoldersResponse (0.8.0)

Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class ListFoldersResponse.

The ListFolders response message.

Generated from protobuf message google.cloud.resourcemanager.v3.ListFoldersResponse

Namespace

Google \ Cloud \ ResourceManager \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ folders array<Google\Cloud\ResourceManager\V3\Folder>

A possibly paginated list of folders that are direct descendants of the specified parent resource.

↳ next_page_token string

A pagination token returned from a previous call to ListFolders that indicates from where listing should continue.

getFolders

A possibly paginated list of folders that are direct descendants of the specified parent resource.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFolders

A possibly paginated list of folders that are direct descendants of the specified parent resource.

Parameter
NameDescription
var array<Google\Cloud\ResourceManager\V3\Folder>
Returns
TypeDescription
$this

getNextPageToken

A pagination token returned from a previous call to ListFolders that indicates from where listing should continue.

Returns
TypeDescription
string

setNextPageToken

A pagination token returned from a previous call to ListFolders that indicates from where listing should continue.

Parameter
NameDescription
var string
Returns
TypeDescription
$this