NAME
Google::Cloud::Apptopology::V1::Schema - Compiled Protocol Buffers messages for google/cloud/apptopology/v1/schema.proto
SYNOPSIS
use Google::Cloud::Apptopology::V1::Schema;
my $msg = Google::Cloud::Apptopology::V1::Schema::Domain->new({
name => $name,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Apptopology::V1::Schema::Domain->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/apptopology/v1/schema.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::Apptopology::V1::Schema::Domain
Domain is a pre-defined topology query domain. Each topology domain contains a set of nodes and edges.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The pre-defined topology domain. Currently only SRE, DEVOPS, and SECURITY are available. Format: `projects/{project}/locations/{location}/domains/{domain}`
Google::Cloud::Apptopology::V1::Schema::Schema
Schema is a collection of supported node & edge labels and properties for an overlay.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The resource name of the schema. Format: `projects/{project}/locations/{location}/domains/{domain}/schema`
$msg->node_types()/$msg->node_types($value)Type:
Message(Google::Cloud::Apptopology::V1::Schema::NodeType)A list of `NodeType`s defined within this schema. Refer to the documentation of `NodeType` for more details.
$msg->edge_types()/$msg->edge_types($value)Type:
Message(Google::Cloud::Apptopology::V1::Schema::EdgeType)A list of `EdgeType`s defined within this schema. Refer to the documentation of `EdgeType` for more details.
$msg->label_properties()/$msg->label_properties($value)Type:
Message(Google::Cloud::Apptopology::V1::Schema::LabelProperties)A list of supported labels and corresponding properties.
$msg->edge_rules()/$msg->edge_rules($value)Type:
Message(Google::Cloud::Apptopology::V1::Schema::EdgeRule)Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.
Google::Cloud::Apptopology::V1::Schema::NodeType
NodeType defines the schema of a node type in the graph.
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
StringREQUIRED Name of the node type. This name is used to access the node type while defining the schema.
$msg->labels()/$msg->labels($value)Type:
StringLabels attached to the node. Composable, namespaced building blocks that define core attributes through associated properties. Multiple labels aggregate to fully specify the functional traits and property schema of the node type.
$msg->description()/$msg->description($value)Type:
StringA human-readable description of the `NodeType`.
$msg->optional_labels()/$msg->optional_labels($value)Type:
StringA node of this node type can have 0 or more of these labels. These node objects of this node type will have these labels alongside the required labels.
Google::Cloud::Apptopology::V1::Schema::EdgeType
EdgeType defines the schema of an edge type in the graph.
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
StringREQUIRED Name of the edge type. This name is used to access the edge type while defining the schema.
$msg->labels()/$msg->labels($value)Type:
StringLabels attached to the edge. Composable, namespaced building blocks that define core attributes through associated properties. Multiple labels aggregate to fully specify the functional traits and property schema of the edge type.
$msg->description()/$msg->description($value)Type:
StringA human-readable description of the `EdgeType`.
$msg->optional_labels()/$msg->optional_labels($value)Type:
StringAn edge of this edge type can have 0 or more of these labels. These edge objects of this edge type will have these labels alongside the required labels.
Google::Cloud::Apptopology::V1::Schema::NodeGroup
NodeGroup represents a dynamic collection of nodes that satisfy specific criteria. A node is considered part of this group if it matches the defined constraints.
Inherits from Protobuf::Message.
Accessors
$msg->any_labels()/$msg->any_labels($value)Type:
StringOptional. A node must have at least one of these labels to be included in the group. If empty or unset, this constraint is not applied.
Google::Cloud::Apptopology::V1::Schema::EdgeRule
EdgeRule defines the connection rules for nodes in the graph.
Inherits from Protobuf::Message.
Accessors
$msg->src_node_type()/$msg->src_node_type($value)Type:
StringOptional. The specific node type name that acts as the source for this edge.
$msg->src_node_group()/$msg->src_node_group($value)Type:
Message(Google::Cloud::Apptopology::V1::Schema::NodeGroup)Optional. A dynamic group of nodes, defined by label constraints, that can act as the source for this edge.
$msg->dest_node_type()/$msg->dest_node_type($value)Type:
StringOptional. The specific node type name that acts as the destination for this edge.
$msg->dest_node_group()/$msg->dest_node_group($value)Type:
Message(Google::Cloud::Apptopology::V1::Schema::NodeGroup)Optional. A dynamic group of nodes, defined by label constraints, that can act as the destination for this edge.
$msg->edge_type()/$msg->edge_type($value)Type:
StringOptional. Name of the connected edge type.
Google::Cloud::Apptopology::V1::Schema::LabelProperties
Identifier for the label and corresponding properties.
Inherits from Protobuf::Message.
Accessors
$msg->label()/$msg->label($value)Type:
StringFull qualified name of the label.
$msg->properties()/$msg->properties($value)Type:
Message(Google::Cloud::Apptopology::V1::Schema::Property)List of properties associated with the label.
$msg->description()/$msg->description($value)Type:
StringA human-readable description of the label.
Google::Cloud::Apptopology::V1::Schema::Property
Property defines the schema of a property in the graph.
Inherits from Protobuf::Message.
Accessors
$msg->string_value()/$msg->string_value($value)Type:
Message(Google::Cloud::Apptopology::V1::Schema::StringValue)StringValue represents a property that has a string value type.
$msg->int_value()/$msg->int_value($value)Type:
Message(Google::Cloud::Apptopology::V1::Schema::IntValue)IntValue represents a property that has an integer value type.
$msg->bool_value()/$msg->bool_value($value)Type:
Message(Google::Cloud::Apptopology::V1::Schema::BoolValue)BoolValue represents a property that has a boolean value type.
$msg->double_value()/$msg->double_value($value)Type:
Message(Google::Cloud::Apptopology::V1::Schema::DoubleValue)DoubleValue represents a property that has a double value type.
$msg->name()/$msg->name($value)Type:
String`name` is the key string to identify the property in `Node`s & `Edge`s. Examples: `ProjectId`, `Base/displayName` etc.
$msg->description()/$msg->description($value)Type:
StringA human-readable description of the `PropertyType`, explaining its meaning, purpose, and any constraints or expectations on its value.
Google::Cloud::Apptopology::V1::Schema::StringValue
StringValue represents a property that has a string value type.
Inherits from Protobuf::Message.
Accessors
$msg->repeated()/$msg->repeated($value)Type:
BoolOPTIONAL Whether the property is repeated.
$msg->allowed_values()/$msg->allowed_values($value)Type:
StringOPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.
Google::Cloud::Apptopology::V1::Schema::IntValue
IntValue represents a property that has an integer value type.
Inherits from Protobuf::Message.
Accessors
$msg->repeated()/$msg->repeated($value)Type:
BoolOPTIONAL Whether the property is repeated.
$msg->allowed_values()/$msg->allowed_values($value)Type:
Int64OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.
Google::Cloud::Apptopology::V1::Schema::BoolValue
BoolValue represents a property that has a boolean value type.
Inherits from Protobuf::Message.
Accessors
$msg->repeated()/$msg->repeated($value)Type:
BoolOPTIONAL Whether the property is repeated.
$msg->allowed_values()/$msg->allowed_values($value)Type:
BoolOPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.
Google::Cloud::Apptopology::V1::Schema::DoubleValue
DoubleValue represents a property that has a double value type.
Inherits from Protobuf::Message.
Accessors
$msg->repeated()/$msg->repeated($value)Type:
BoolOPTIONAL Whether the property is repeated.
$msg->allowed_values()/$msg->allowed_values($value)Type:
DoubleOPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Apptopology::V1::Schema::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.