Cloudresourcemanager_v3Functions

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, for example: "folders/1234". The caller must have resourcemanager.folders.getIamPolicy permission on the identified folder.

Link copied to clipboard
suspend fun getLien(argument: GetLienPlainArgs): GetLienResult

Retrieve a Lien by name. Callers of this method will require permission on the parent resource. For example, a Lien with a parent of projects/1234 requires permission resourcemanager.projects.get

suspend fun getLien(lienId: String): GetLienResult
suspend fun getLien(argument: suspend GetLienPlainArgsBuilder.() -> Unit): GetLienResult
Link copied to clipboard

Gets the access control policy for an organization resource. The policy may be empty if no such policy or resource exists. The resource field should be the organization's resource name, for example: "organizations/123". Authorization requires the IAM permission resourcemanager.organizations.getIamPolicy on the specified organization.

Link copied to clipboard

Retrieves the project identified by the specified name (for example, projects/415104041262). The caller must have resourcemanager.projects.get permission for this project.

suspend fun getProject(project: String? = null): GetProjectResult
suspend fun getProject(argument: suspend GetProjectPlainArgsBuilder.() -> Unit): GetProjectResult
Link copied to clipboard

Returns the IAM access control policy for the specified project, in the format projects/{ProjectIdOrNumber} e.g. projects/123. Permission is denied if the policy or the resource do not exist.

Link copied to clipboard

Retrieves a TagKey. This method will return PERMISSION_DENIED if the key does not exist or the user does not have permission to view it.

suspend fun getTagKey(tagKeyId: String): GetTagKeyResult
suspend fun getTagKey(argument: suspend GetTagKeyPlainArgsBuilder.() -> Unit): GetTagKeyResult
Link copied to clipboard

Gets the access control policy for a TagKey. The returned policy may be empty if no such policy or resource exists. The resource field should be the TagKey's resource name. For example, "tagKeys/1234". The caller must have cloudresourcemanager.googleapis.com/tagKeys.getIamPolicy permission on the specified TagKey.

Link copied to clipboard

Retrieves a TagValue. This method will return PERMISSION_DENIED if the value does not exist or the user does not have permission to view it.

suspend fun getTagValue(tagValueId: String): GetTagValueResult
suspend fun getTagValue(argument: suspend GetTagValuePlainArgsBuilder.() -> Unit): GetTagValueResult
Link copied to clipboard

Gets the access control policy for a TagValue. The returned policy may be empty if no such policy or resource exists. The resource field should be the TagValue's resource name. For example: tagValues/1234. The caller must have the cloudresourcemanager.googleapis.com/tagValues.getIamPolicy permission on the identified TagValue to get the access control policy.