getAncestry

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

Example Usage

variables:
example:
fn::invoke:
function: gcp:projects:getAncestry
arguments:
projectId: example-project

Return

A collection of values returned by getAncestry.

Parameters

argument

A collection of arguments for invoking getAncestry.


suspend fun getAncestry(project: String? = null): GetAncestryResult

Return

A collection of values returned by getAncestry.

Parameters

project

The ID of the project. If it is not provided, the provider project is used.

See also


suspend fun getAncestry(argument: suspend GetAncestryPlainArgsBuilder.() -> Unit): GetAncestryResult

Return

A collection of values returned by getAncestry.

Parameters

argument

Builder for com.pulumi.gcp.projects.kotlin.inputs.GetAncestryPlainArgs.

See also