Reference documentation and code samples for the BigQuery Data Policy Service V1beta1 API class Google::Cloud::Bigquery::DataPolicies::V1beta1::UpdateDataPolicyRequest.
Response message for the UpdateDataPolicy 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
-
(::Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy) — Required. Update the data policy's metadata.
The target data policy is determined by the
name
field. Other fields are updated to the specified values based on the field masks.
#data_policy=
def data_policy=(value) -> ::Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy
-
value (::Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy) — Required. Update the data policy's metadata.
The target data policy is determined by the
name
field. Other fields are updated to the specified values based on the field masks.
-
(::Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy) — Required. Update the data policy's metadata.
The target data policy is determined by the
name
field. Other fields are updated to the specified values based on the field masks.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
-
(::Google::Protobuf::FieldMask) — The update mask applies to the resource. For the
FieldMask
definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.Updates to the
name
anddataPolicyId
fields are not allowed.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
-
value (::Google::Protobuf::FieldMask) — The update mask applies to the resource. For the
FieldMask
definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.Updates to the
name
anddataPolicyId
fields are not allowed.
-
(::Google::Protobuf::FieldMask) — The update mask applies to the resource. For the
FieldMask
definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.Updates to the
name
anddataPolicyId
fields are not allowed.