NAME

Google::Cloud::Apptopology::V1::Graph - Compiled Protocol Buffers messages for google/cloud/apptopology/v1/graph.proto

SYNOPSIS

use Google::Cloud::Apptopology::V1::Graph;

my $msg = Google::Cloud::Apptopology::V1::Graph::Graph->new({
    nodes => $nodes,
    edges => $edges,
});

# Read or update a field
my $val = $msg->nodes();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Apptopology::V1::Graph::Graph->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/apptopology/v1/graph.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::Graph::Graph

Represents a graph structure composed of nodes and edges.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Apptopology::V1::Graph::EntityContext

Represents the context of an entity (node or edge) in the graph.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The primary, namespaced type dictating the node naming format and supported labels, and defined in the `Schema` (Schema.node_types/edge_types.name), e.g., `Base/compute.googleapis.com/Instance`.

Google::Cloud::Apptopology::V1::Graph::Node

Represents a single node in the graph.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::Struct::Struct)

    Properties associated with the node. Refer to https://apptopology.googleapis.com/v1/GetSchema for a detailed list of node properties.

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

    Type: String

    The global unique name of the node. For standard Google Cloud Platform resources, this MUST be the canonical Full Resource Name.

    Examples:

    - type: compute.googleapis.com/Instance name: "//compute.googleapis.com/projects/my-project-id/zones/us-central1-a/instances/my-vm-1"

    - type: container.googleapis.com/Cluster name: "//container.googleapis.com/projects/my-project-id/locations/us-central1/clusters/my-cluster"

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

    Type: String

    Labels 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->context() / $msg->context($value)

    Type: Message (Google::Cloud::Apptopology::V1::Graph::EntityContext)

    The context of the node.

Google::Cloud::Apptopology::V1::Graph::Edge

Represents a single edge connecting two nodes in the graph.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::Struct::Struct)

    Properties associated with the edge. Refer to https://apptopology.googleapis.com/v1/GetSchema for a detailed list of edge properties.

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

    Type: String

    The name of the source node for this edge. This is the `name` field in the Node.

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

    Type: String

    The name of the destination node for this edge. This is the `name` field in the Node.

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

    Type: String

    Labels 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->context() / $msg->context($value)

    Type: Message (Google::Cloud::Apptopology::V1::Graph::EntityContext)

    The context of the edge.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Apptopology::V1::Graph::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.