Service Client: Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::PolicyTagManagerSerializationClient
Client stub representing the remote PolicyTagManagerSerialization gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to datacatalog.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Datacatalog::V1::Policytagmanagerserialization - Compiled Protocol Buffers messages for google/cloud/datacatalog/v1/policytagmanagerserialization.proto
SYNOPSIS
use Google::Cloud::Datacatalog::V1::Policytagmanagerserialization;
my $msg = Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::SerializedTaxonomy->new({
display_name => $display_name,
description => $description,
policy_tags => $policy_tags,
activated_policy_types => $activated_policy_types,
});
# Read or update a field
my $val = $msg->display_name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::SerializedTaxonomy->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/datacatalog/v1/policytagmanagerserialization.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::SerializedTaxonomy
A nested protocol buffer that represents a taxonomy and the hierarchy of its policy tags. Used for taxonomy replacement, import, and export.
Inherits from Protobuf::Message.
Accessors
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.
$msg->description()/$msg->description($value)Type:
StringDescription of the serialized taxonomy. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
$msg->policy_tags()/$msg->policy_tags($value)Type:
Message(Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::SerializedPolicyTag)Top level policy tags associated with the taxonomy, if any.
$msg->activated_policy_types()/$msg->activated_policy_types($value)Type:
Enum(Google::Cloud::Datacatalog::V1::Taxonomy::PolicyType)A list of policy types that are activated per taxonomy.
Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::SerializedPolicyTag
A nested protocol buffer that represents a policy tag and all its descendants.
Inherits from Protobuf::Message.
Accessors
$msg->policy_tag()/$msg->policy_tag($value)Type:
StringResource name of the policy tag.
This field is ignored when calling `ImportTaxonomies`.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
$msg->description()/$msg->description($value)Type:
StringDescription of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
$msg->child_policy_tags()/$msg->child_policy_tags($value)Type:
Message(Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::SerializedPolicyTag)Children of the policy tag, if any.
Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::ReplaceTaxonomyRequest
Request message for [ReplaceTaxonomy][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Resource name of the taxonomy to update.
$msg->serialized_taxonomy()/$msg->serialized_taxonomy($value)Type:
Message(Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::SerializedTaxonomy)Required. Taxonomy to update along with its child policy tags.
Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::ImportTaxonomiesRequest
Request message for [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Resource name of project that the imported taxonomies will belong to.
$msg->inline_source()/$msg->inline_source($value)Type:
Message(Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::InlineSource)Inline source taxonomy to import.
$msg->cross_regional_source()/$msg->cross_regional_source($value)Type:
Message(Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::CrossRegionalSource)Cross-regional source taxonomy to import.
Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::InlineSource
Inline source containing taxonomies to import.
Inherits from Protobuf::Message.
Accessors
$msg->taxonomies()/$msg->taxonomies($value)Type:
Message(Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::SerializedTaxonomy)Required. Taxonomies to import.
Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::CrossRegionalSource
Cross-regional source used to import an existing taxonomy into a different region.
Inherits from Protobuf::Message.
Accessors
$msg->taxonomy()/$msg->taxonomy($value)Type:
StringRequired. The resource name of the source taxonomy to import.
Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::ImportTaxonomiesResponse
Response message for [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].
Inherits from Protobuf::Message.
Accessors
$msg->taxonomies()/$msg->taxonomies($value)Type:
Message(Google::Cloud::Datacatalog::V1::Policytagmanager::Taxonomy)Imported taxonomies.
Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::ExportTaxonomiesRequest
Request message for [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Resource name of the project that the exported taxonomies belong to.
$msg->taxonomies()/$msg->taxonomies($value)Type:
StringRequired. Resource names of the taxonomies to export.
$msg->serialized_taxonomies()/$msg->serialized_taxonomies($value)Type:
BoolSerialized export taxonomies that contain all the policy tags as nested protocol buffers.
Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::ExportTaxonomiesResponse
Response message for [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies].
Inherits from Protobuf::Message.
Accessors
$msg->taxonomies()/$msg->taxonomies($value)Type:
Message(Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::SerializedTaxonomy)List of taxonomies and policy tags as nested protocol buffers.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.