Reference documentation and code samples for the Data Catalog V1 API class Google::Cloud::DataCatalog::V1::SerializedPolicyTag.
A nested protocol buffer that represents a policy tag and all its descendants.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#child_policy_tags
def child_policy_tags() -> ::Array<::Google::Cloud::DataCatalog::V1::SerializedPolicyTag>
Returns
- (::Array<::Google::Cloud::DataCatalog::V1::SerializedPolicyTag>) — Children of the policy tag, if any.
#child_policy_tags=
def child_policy_tags=(value) -> ::Array<::Google::Cloud::DataCatalog::V1::SerializedPolicyTag>
Parameter
- value (::Array<::Google::Cloud::DataCatalog::V1::SerializedPolicyTag>) — Children of the policy tag, if any.
Returns
- (::Array<::Google::Cloud::DataCatalog::V1::SerializedPolicyTag>) — Children of the policy tag, if any.
#description
def description() -> ::String
Returns
- (::String) — Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
Returns
- (::String) — Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
#display_name
def display_name() -> ::String
Returns
- (::String) — Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
Returns
- (::String) — Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
#policy_tag
def policy_tag() -> ::String
Returns
-
(::String) — Resource name of the policy tag.
This field is ignored when calling
ImportTaxonomies
.
#policy_tag=
def policy_tag=(value) -> ::String
Parameter
-
value (::String) — Resource name of the policy tag.
This field is ignored when calling
ImportTaxonomies
.
Returns
-
(::String) — Resource name of the policy tag.
This field is ignored when calling
ImportTaxonomies
.