Google Cloud Resource Manager V3 Client - Class GetFolderRequest (0.5.0)

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

The GetFolder request message.

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

Methods

build

Parameter
NameDescription
name string

Required. The resource name of the folder to retrieve. Must be of the form folders/{folder_id}. Please see {@see \Google\Cloud\ResourceManager\V3\FoldersClient::folderName()} for help formatting this field.

Returns
TypeDescription
Google\Cloud\ResourceManager\V3\GetFolderRequest

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the folder to retrieve. Must be of the form folders/{folder_id}.

getName

Required. The resource name of the folder to retrieve.

Must be of the form folders/{folder_id}.

Returns
TypeDescription
string

setName

Required. The resource name of the folder to retrieve.

Must be of the form folders/{folder_id}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this