BigQueryDataPolicy
import { BigQueryDataPolicy } from "https://googleapis.deno.dev/v1/bigquerydatapolicy:v2.ts";Allows users to manage BigQuery data policies.
§Methods
Adds new grantees to a data policy. The new grantees will be added to the existing grantees. If the request contains a duplicate grantee, the grantee will be ignored. If the request contains a grantee that already exists, the grantee will be ignored.
Required. Resource name of this data policy, in the format of projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.
Creates a new data policy under a project with the given data_policy_id
(used as the display name), 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/{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.
Identifier. Resource name of this data policy, in the format of projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.
Removes grantees from a data policy. The grantees will be removed from the existing grantees. If the request contains a grantee that does not exist, the grantee will be ignored.
Required. Resource name of this data policy, in the format of 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.