Class: Google::Cloud::Bigquery::DataPolicies::V1beta1::CreateDataPolicyRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/bigquery/datapolicies/v1beta1/datapolicy.rb

Overview

Request message for the CreateDataPolicy method.

Instance Attribute Summary collapse

Instance Attribute Details

#data_policy::Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy

Returns Required. The data policy to create. The name field does not need to be provided for the data policy creation.

Returns:



34
35
36
37
# File 'proto_docs/google/cloud/bigquery/datapolicies/v1beta1/datapolicy.rb', line 34

class CreateDataPolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns 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}.



34
35
36
37
# File 'proto_docs/google/cloud/bigquery/datapolicies/v1beta1/datapolicy.rb', line 34

class CreateDataPolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end