UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

58 lines 1.89 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getTableIamPolicyOutput = exports.getTableIamPolicy = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Retrieves the current IAM policy data for table * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.bigquery.getTableIamPolicy({ * project: test.project, * datasetId: test.datasetId, * tableId: test.tableId, * }); * ``` */ function getTableIamPolicy(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:bigquery/getTableIamPolicy:getTableIamPolicy", { "datasetId": args.datasetId, "project": args.project, "tableId": args.tableId, }, opts); } exports.getTableIamPolicy = getTableIamPolicy; /** * Retrieves the current IAM policy data for table * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.bigquery.getTableIamPolicy({ * project: test.project, * datasetId: test.datasetId, * tableId: test.tableId, * }); * ``` */ function getTableIamPolicyOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:bigquery/getTableIamPolicy:getTableIamPolicy", { "datasetId": args.datasetId, "project": args.project, "tableId": args.tableId, }, opts); } exports.getTableIamPolicyOutput = getTableIamPolicyOutput; //# sourceMappingURL=getTableIamPolicy.js.map