App Topology V1 API - Class Google::Cloud::AppTopology::V1::Graph (v0.1.0)

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 nodes in the graph. Both source and destination nodes for each edges will be present in the nodes list.

#edges=

def edges=(value) -> ::Array<::Google::Cloud::AppTopology::V1::Edge>
Parameter
  • value (::Array<::Google::Cloud::AppTopology::V1::Edge>) — Collection of unique edges connecting the nodes in the graph. Both source and destination nodes for each edges will be present in the nodes list.
Returns
  • (::Array<::Google::Cloud::AppTopology::V1::Edge>) — Collection of unique edges connecting the nodes in the graph. Both source and destination nodes for each edges will be present in the nodes list.

#nodes

def nodes() -> ::Array<::Google::Cloud::AppTopology::V1::Node>
Returns

#nodes=

def nodes=(value) -> ::Array<::Google::Cloud::AppTopology::V1::Node>
Parameter
Returns