Reference documentation and code samples for the App Topology V1 API class Google::Cloud::AppTopology::V1::GraphPattern.
Recursive graph pattern matcher to select and constrain the returned topology. AppTopology API allows cycle in the graph traversal and will return unique node and edge results in the response. SLO is guaranteed for at most 5 hops in the graph traversal.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#neighbors
def neighbors() -> ::Array<::Google::Cloud::AppTopology::V1::ConnectedNodePattern>
Returns
- (::Array<::Google::Cloud::AppTopology::V1::ConnectedNodePattern>) — Optional. Pattern matcher to match the connected subgraphs; all of these are ANDed.
#neighbors=
def neighbors=(value) -> ::Array<::Google::Cloud::AppTopology::V1::ConnectedNodePattern>
Parameter
- value (::Array<::Google::Cloud::AppTopology::V1::ConnectedNodePattern>) — Optional. Pattern matcher to match the connected subgraphs; all of these are ANDed.
Returns
- (::Array<::Google::Cloud::AppTopology::V1::ConnectedNodePattern>) — Optional. Pattern matcher to match the connected subgraphs; all of these are ANDed.
#starting_node
def starting_node() -> ::Google::Cloud::AppTopology::V1::NodePattern
Returns
- (::Google::Cloud::AppTopology::V1::NodePattern) — Required. Pattern matcher to select the starting nodes in the graph.
#starting_node=
def starting_node=(value) -> ::Google::Cloud::AppTopology::V1::NodePattern
Parameter
- value (::Google::Cloud::AppTopology::V1::NodePattern) — Required. Pattern matcher to select the starting nodes in the graph.
Returns
- (::Google::Cloud::AppTopology::V1::NodePattern) — Required. Pattern matcher to select the starting nodes in the graph.