import * as pulumi from "@pulumi/pulumi"; /** * Retrieves the current IAM policy data for a folder. * * ## example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const test = gcp.folder.getIamPolicy({ * folder: permissiontest.name, * }); * ``` */ export declare function getIamPolicy(args: GetIamPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getIamPolicy. */ export interface GetIamPolicyArgs { /** * The resource name of the folder the policy is attached to. Its format is folders/{folder_id}. */ folder: string; } /** * A collection of values returned by getIamPolicy. */ export interface GetIamPolicyResult { /** * (Computed) The etag of the IAM policy. */ readonly etag: string; readonly folder: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * (Computed) The policy data */ readonly policyData: string; } /** * Retrieves the current IAM policy data for a folder. * * ## example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const test = gcp.folder.getIamPolicy({ * folder: permissiontest.name, * }); * ``` */ export declare function getIamPolicyOutput(args: GetIamPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getIamPolicy. */ export interface GetIamPolicyOutputArgs { /** * The resource name of the folder the policy is attached to. Its format is folders/{folder_id}. */ folder: pulumi.Input; }