Google Cloud BigQuery Data Policies V1 Client - Class DeleteDataPolicyRequest (1.0.3)

Reference documentation and code samples for the Google Cloud BigQuery Data Policies V1 Client class DeleteDataPolicyRequest.

Request message for the DeleteDataPolicy method.

Generated from protobuf message google.cloud.bigquery.datapolicies.v1.DeleteDataPolicyRequest

Namespace

Google \ Cloud \ BigQuery \ DataPolicies \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Resource name of the data policy to delete. Format is projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.

getName

Required. Resource name of the data policy to delete. Format is projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.

Returns
Type Description
string

setName

Required. Resource name of the data policy to delete. Format is projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Resource name of the data policy to delete. Format is projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}. Please see DataPolicyServiceClient::dataPolicyName() for help formatting this field.

Returns
Type Description
DeleteDataPolicyRequest