ProjectsFunctions

Functions

Link copied to clipboard

Retrieve the ancestors for a project. See the REST API for more details.

suspend fun getAncestry(project: String? = null): GetAncestryResult
suspend fun getAncestry(argument: suspend GetAncestryPlainArgsBuilder.() -> Unit): GetAncestryResult
Link copied to clipboard

Get information about a Google Cloud Project IAM Custom Role. Note that you must have the roles/iam.roleViewer role (or equivalent permissions) at the project level to use this datasource.

suspend fun getIamCustomRole(project: String? = null, roleId: String): GetIamCustomRoleResult
Link copied to clipboard

Get information about Google Cloud IAM Custom Roles from a project. Note that you must have the roles/iam.roleViewer. See the official documentation and API.

suspend fun getIamCustomRoles(project: String? = null, showDeleted: Boolean? = null, view: String? = null): GetIamCustomRolesResult
Link copied to clipboard

Retrieves the current IAM policy data for a project.

suspend fun getIamPolicy(project: String): GetIamPolicyResult
Link copied to clipboard

Allows management of Organization policies for a Google Project. For more information see [the official

Link copied to clipboard

Retrieve information about a set of projects based on a filter. See the REST API for more details.

suspend fun getProject(filter: String): GetProjectResult
suspend fun getProject(argument: suspend GetProjectPlainArgsBuilder.() -> Unit): GetProjectResult
Link copied to clipboard

Verify the API service for the Google Cloud Platform project to see if it is enabled or not. For a list of services available, visit the API library page or run gcloud services list --available. This datasource requires the Service Usage API to use. To get more information about gcp.projects.Service, see:

suspend fun getProjectService(project: String? = null, service: String): GetProjectServiceResult