import * as pulumi from "@pulumi/pulumi"; /** * Retrieves the current IAM policy data for logview * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.logging.getLogViewIamPolicy({ * parent: loggingLogView.parent, * location: loggingLogView.location, * bucket: loggingLogView.bucket, * name: loggingLogView.name, * }); * ``` */ export declare function getLogViewIamPolicy(args: GetLogViewIamPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLogViewIamPolicy. */ export interface GetLogViewIamPolicyArgs { /** * The bucket of the resource Used to find the parent resource to bind the IAM policy to */ bucket: string; /** * The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified, * the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no * location is specified, it is taken from the provider configuration. */ location?: string; /** * Used to find the parent resource to bind the IAM policy to */ name: string; /** * The parent of the resource. Used to find the parent resource to bind the IAM policy to */ parent: string; } /** * A collection of values returned by getLogViewIamPolicy. */ export interface GetLogViewIamPolicyResult { readonly bucket: string; /** * (Computed) The etag of the IAM policy. */ readonly etag: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly location: string; readonly name: string; readonly parent: string; /** * (Required only by `gcp.logging.LogViewIamPolicy`) The policy data generated by * a `gcp.organizations.getIAMPolicy` data source. */ readonly policyData: string; } /** * Retrieves the current IAM policy data for logview * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.logging.getLogViewIamPolicy({ * parent: loggingLogView.parent, * location: loggingLogView.location, * bucket: loggingLogView.bucket, * name: loggingLogView.name, * }); * ``` */ export declare function getLogViewIamPolicyOutput(args: GetLogViewIamPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLogViewIamPolicy. */ export interface GetLogViewIamPolicyOutputArgs { /** * The bucket of the resource Used to find the parent resource to bind the IAM policy to */ bucket: pulumi.Input; /** * The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified, * the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no * location is specified, it is taken from the provider configuration. */ location?: pulumi.Input; /** * Used to find the parent resource to bind the IAM policy to */ name: pulumi.Input; /** * The parent of the resource. Used to find the parent resource to bind the IAM policy to */ parent: pulumi.Input; }