Reference documentation and code samples for the Google Cloud Data Catalog V1BETA1 API class Google::Cloud::DataCatalog::V1beta1::UpdatePolicyTagRequest.
Request message for UpdatePolicyTag.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#policy_tag
def policy_tag() -> ::Google::Cloud::DataCatalog::V1beta1::PolicyTag
Returns
- (::Google::Cloud::DataCatalog::V1beta1::PolicyTag) — The policy tag to update. Only the description, display_name, and parent_policy_tag fields can be updated.
#policy_tag=
def policy_tag=(value) -> ::Google::Cloud::DataCatalog::V1beta1::PolicyTag
Parameter
- value (::Google::Cloud::DataCatalog::V1beta1::PolicyTag) — The policy tag to update. Only the description, display_name, and parent_policy_tag fields can be updated.
Returns
- (::Google::Cloud::DataCatalog::V1beta1::PolicyTag) — The policy tag to update. Only the description, display_name, and parent_policy_tag fields can be updated.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
-
(::Google::Protobuf::FieldMask) — The update mask applies to the resource. Only display_name, description and
parent_policy_tag can be updated and thus can be listed in the mask. If
update_mask is not provided, all allowed fields (i.e. display_name,
description and parent) will be updated. For more information including 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.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
-
value (::Google::Protobuf::FieldMask) — The update mask applies to the resource. Only display_name, description and
parent_policy_tag can be updated and thus can be listed in the mask. If
update_mask is not provided, all allowed fields (i.e. display_name,
description and parent) will be updated. For more information including 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.
Returns
-
(::Google::Protobuf::FieldMask) — The update mask applies to the resource. Only display_name, description and
parent_policy_tag can be updated and thus can be listed in the mask. If
update_mask is not provided, all allowed fields (i.e. display_name,
description and parent) will be updated. For more information including 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.