Method: folders.get

Retrieves a Folder identified by the supplied resource name. Valid Folder resource names have the format folders/{folder_id} (for example, folders/1234). The caller must have resourcemanager.folders.get permission on the identified folder.

HTTP request

GET https://cloudresourcemanager.googleapis.com/v2beta1/{name=folders/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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

Authorization requires the following IAM permission on the specified resource name:

  • resourcemanager.folders.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Folder.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-platform.read-only
  • https://www.googleapis.com/auth/cloudplatformfolders
  • https://www.googleapis.com/auth/cloudplatformfolders.readonly

For more information, see the Authentication Overview.