Reference documentation and code samples for the App Topology V1 API class Google::Cloud::AppTopology::V1::Graph.
Represents a graph structure composed of nodes and edges.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#edges
def edges() -> ::Array<::Google::Cloud::AppTopology::V1::Edge>
Returns
-
(::Array<::Google::Cloud::AppTopology::V1::Edge>) — Collection of unique edges connecting the
nodesin the graph. Both source and destination nodes for each edges will be present in thenodeslist.
#edges=
def edges=(value) -> ::Array<::Google::Cloud::AppTopology::V1::Edge>
Parameter
-
value (::Array<::Google::Cloud::AppTopology::V1::Edge>) — Collection of unique edges connecting the
nodesin the graph. Both source and destination nodes for each edges will be present in thenodeslist.
Returns
-
(::Array<::Google::Cloud::AppTopology::V1::Edge>) — Collection of unique edges connecting the
nodesin the graph. Both source and destination nodes for each edges will be present in thenodeslist.
#nodes
def nodes() -> ::Array<::Google::Cloud::AppTopology::V1::Node>
Returns
- (::Array<::Google::Cloud::AppTopology::V1::Node>) — A collection of unique nodes that make up the graph.
#nodes=
def nodes=(value) -> ::Array<::Google::Cloud::AppTopology::V1::Node>
Parameter
- value (::Array<::Google::Cloud::AppTopology::V1::Node>) — A collection of unique nodes that make up the graph.
Returns
- (::Array<::Google::Cloud::AppTopology::V1::Node>) — A collection of unique nodes that make up the graph.