Google Cloud BigQuery Data Policies V1 Client - Class GetDataPolicyRequest (0.4.1)

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

Request message for the GetDataPolicy method.

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

Namespace

Google \ Cloud \ BigQuery \ DataPolicies \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

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

getName

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

Returns
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Resource name of the requested data policy. Format is projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}. Please see Google\Cloud\BigQuery\DataPolicies\V1\DataPolicyServiceClient::dataPolicyName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\BigQuery\DataPolicies\V1\GetDataPolicyRequest