BigQueryDataPolicy
import { BigQueryDataPolicy } from "https://googleapis.deno.dev/v1/bigquerydatapolicy:v1.ts";
Allows users to manage BigQuery data policies.
§Methods
Creates a new data policy under a project with the given dataPolicyId
(used as the display name), policy tag, and data policy type.
Required. Resource name of the project that the data policy will belong to. The format is projects/{project_number}/locations/{location_id}
.
Gets the data policy specified by its resource name.
Required. Resource name of the requested data policy. Format is projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}
.
Gets the IAM policy for the specified data policy.
REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
List all of the data policies in the specified parent project.
Required. Resource name of the project for which to list data policies. Format is projects/{project_number}/locations/{location_id}
.
Updates the metadata for an existing data policy. The target data policy can be specified by the resource name.
Output only. Resource name of this data policy, in the format of projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}
.
Renames the id (display name) of the specified data policy.
Required. Resource name of the data policy to rename. The format is projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}
Sets the IAM policy for the specified data policy.
REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Returns the caller's permission on the specified data policy resource.
REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.