Google Cloud Resource Manager V3 Client - Class ListFoldersRequest (0.3.9)

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

The ListFolders request message.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the organization or folder whose folders are being listed. Must be of the form folders/{folder_id} or organizations/{org_id}. Access to this method is controlled by checking the resourcemanager.folders.list permission on the parent.

↳ page_size int

Optional. The maximum number of folders to return in the response. If unspecified, server picks an appropriate default.

↳ page_token string

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

↳ show_deleted bool

Optional. Controls whether folders in the DELETE_REQUESTED state should be returned. Defaults to false.

getParent

Required. The resource name of the organization or folder whose folders are being listed.

Must be of the form folders/{folder_id} or organizations/{org_id}. Access to this method is controlled by checking the resourcemanager.folders.list permission on the parent.

Returns
TypeDescription
string

setParent

Required. The resource name of the organization or folder whose folders are being listed.

Must be of the form folders/{folder_id} or organizations/{org_id}. Access to this method is controlled by checking the resourcemanager.folders.list permission on the parent.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Optional. The maximum number of folders to return in the response.

If unspecified, server picks an appropriate default.

Returns
TypeDescription
int

setPageSize

Optional. The maximum number of folders to return in the response.

If unspecified, server picks an appropriate default.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getShowDeleted

Optional. Controls whether folders in the DELETE_REQUESTED state should be returned. Defaults to false.

Returns
TypeDescription
bool

setShowDeleted

Optional. Controls whether folders in the DELETE_REQUESTED state should be returned. Defaults to false.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this