Cloudresourcemanager_v2Functions

Functions

Link copied to clipboard

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.

suspend fun getFolder(folderId: String): GetFolderResult
suspend fun getFolder(argument: suspend GetFolderPlainArgsBuilder.() -> Unit): GetFolderResult
Link copied to clipboard

Gets the access control policy for a Folder. The returned policy may be empty if no such policy or resource exists. The resource field should be the Folder's resource name, e.g. "folders/1234". The caller must have resourcemanager.folders.getIamPolicy permission on the identified folder.