Resource Manager API, gRPC: FolderService.Get
Returns the specified Folder resource.
To get the list of available Folder resources, make a List request.
gRPC request
rpc Get (GetFolderRequest) returns (Folder)
GetFolderRequest
{
"folder_id": "string"
}
Field |
Description |
folder_id |
string Required field. ID of the Folder resource to return. |
Folder
{
"id": "string",
"cloud_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"status": "Status"
}
A Folder resource. For more information, see Folder.
Field |
Description |
id |
string ID of the folder. |
cloud_id |
string ID of the cloud that the folder belongs to. |
created_at |
Creation timestamp. |
name |
string Name of the folder. |
description |
string Description of the folder. 0-256 characters long. |
labels |
object (map<string, string>) Resource labels as |
status |
enum Status Status of the folder.
|