import * as pulumi from "@pulumi/pulumi"; /** * Retrieves the current IAM policy data for appengineversion * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.iap.getAppEngineVersionIamPolicy({ * project: version.project, * appId: version.project, * service: version.service, * versionId: version.versionId, * }); * ``` */ export declare function getAppEngineVersionIamPolicy(args: GetAppEngineVersionIamPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAppEngineVersionIamPolicy. */ export interface GetAppEngineVersionIamPolicyArgs { /** * Used to find the parent resource to bind the IAM policy to */ appId: string; /** * The ID of the project in which the resource belongs. * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. */ project?: string; /** * Service id of the App Engine application Used to find the parent resource to bind the IAM policy to */ service: string; /** * Used to find the parent resource to bind the IAM policy to */ versionId: string; } /** * A collection of values returned by getAppEngineVersionIamPolicy. */ export interface GetAppEngineVersionIamPolicyResult { readonly appId: string; /** * (Computed) The etag of the IAM policy. */ readonly etag: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * (Required only by `gcp.iap.AppEngineVersionIamPolicy`) The policy data generated by * a `gcp.organizations.getIAMPolicy` data source. */ readonly policyData: string; readonly project: string; readonly service: string; readonly versionId: string; } /** * Retrieves the current IAM policy data for appengineversion * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.iap.getAppEngineVersionIamPolicy({ * project: version.project, * appId: version.project, * service: version.service, * versionId: version.versionId, * }); * ``` */ export declare function getAppEngineVersionIamPolicyOutput(args: GetAppEngineVersionIamPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAppEngineVersionIamPolicy. */ export interface GetAppEngineVersionIamPolicyOutputArgs { /** * Used to find the parent resource to bind the IAM policy to */ appId: pulumi.Input; /** * The ID of the project in which the resource belongs. * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. */ project?: pulumi.Input; /** * Service id of the App Engine application Used to find the parent resource to bind the IAM policy to */ service: pulumi.Input; /** * Used to find the parent resource to bind the IAM policy to */ versionId: pulumi.Input; }