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: String

    Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.

  • $msg->description() / $msg->description($value)

    Type: String

    Description 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: String

    Resource name of the policy tag.

    This field is ignored when calling `ImportTaxonomies`.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.

  • $msg->description() / $msg->description($value)

    Type: String

    Description 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

Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::ImportTaxonomiesRequest

Request message for [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datacatalog::V1::Policytagmanagerserialization::InlineSource

Inline source containing taxonomies to import.

Inherits from Protobuf::Message.

Accessors

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: String

    Required. 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

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: String

    Required. Resource name of the project that the exported taxonomies belong to.

  • $msg->taxonomies() / $msg->taxonomies($value)

    Type: String

    Required. Resource names of the taxonomies to export.

  • $msg->serialized_taxonomies() / $msg->serialized_taxonomies($value)

    Type: Bool

    Serialized 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

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.