BigQuery Data Policy Service V1beta1 API - Class Google::Cloud::Bigquery::DataPolicies::V1beta1::CreateDataPolicyRequest (v0.5.0)

Reference documentation and code samples for the BigQuery Data Policy Service V1beta1 API class Google::Cloud::Bigquery::DataPolicies::V1beta1::CreateDataPolicyRequest.

Request message for the CreateDataPolicy method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#data_policy

def data_policy() -> ::Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy
Returns

#data_policy=

def data_policy=(value) -> ::Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy
Parameter
Returns

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Resource name of the project that the data policy will belong to. The format is projects/{project_number}/locations/{location_id}.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Resource name of the project that the data policy will belong to. The format is projects/{project_number}/locations/{location_id}.
Returns
  • (::String) — Required. Resource name of the project that the data policy will belong to. The format is projects/{project_number}/locations/{location_id}.