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

Reference documentation and code samples for the App Topology V1 API class Google::Cloud::AppTopology::V1::EdgeRule.

EdgeRule defines the connection rules for nodes in the graph.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#dest_node_group

def dest_node_group() -> ::Google::Cloud::AppTopology::V1::NodeGroup
Returns
  • (::Google::Cloud::AppTopology::V1::NodeGroup) — Optional. A dynamic group of nodes, defined by label constraints, that can act as the destination for this edge.

    Note: The following fields are mutually exclusive: dest_node_group, dest_node_type. If a field in that set is populated, all other fields in the set will automatically be cleared.

#dest_node_group=

def dest_node_group=(value) -> ::Google::Cloud::AppTopology::V1::NodeGroup
Parameter
  • value (::Google::Cloud::AppTopology::V1::NodeGroup) — Optional. A dynamic group of nodes, defined by label constraints, that can act as the destination for this edge.

    Note: The following fields are mutually exclusive: dest_node_group, dest_node_type. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AppTopology::V1::NodeGroup) — Optional. A dynamic group of nodes, defined by label constraints, that can act as the destination for this edge.

    Note: The following fields are mutually exclusive: dest_node_group, dest_node_type. If a field in that set is populated, all other fields in the set will automatically be cleared.

#dest_node_type

def dest_node_type() -> ::String
Returns
  • (::String) — Optional. The specific node type name that acts as the destination for this edge.

    Note: The following fields are mutually exclusive: dest_node_type, dest_node_group. If a field in that set is populated, all other fields in the set will automatically be cleared.

#dest_node_type=

def dest_node_type=(value) -> ::String
Parameter
  • value (::String) — Optional. The specific node type name that acts as the destination for this edge.

    Note: The following fields are mutually exclusive: dest_node_type, dest_node_group. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. The specific node type name that acts as the destination for this edge.

    Note: The following fields are mutually exclusive: dest_node_type, dest_node_group. If a field in that set is populated, all other fields in the set will automatically be cleared.

#edge_type

def edge_type() -> ::String
Returns
  • (::String) — Optional. Name of the connected edge type.

#edge_type=

def edge_type=(value) -> ::String
Parameter
  • value (::String) — Optional. Name of the connected edge type.
Returns
  • (::String) — Optional. Name of the connected edge type.

#src_node_group

def src_node_group() -> ::Google::Cloud::AppTopology::V1::NodeGroup
Returns
  • (::Google::Cloud::AppTopology::V1::NodeGroup) — Optional. A dynamic group of nodes, defined by label constraints, that can act as the source for this edge.

    Note: The following fields are mutually exclusive: src_node_group, src_node_type. If a field in that set is populated, all other fields in the set will automatically be cleared.

#src_node_group=

def src_node_group=(value) -> ::Google::Cloud::AppTopology::V1::NodeGroup
Parameter
  • value (::Google::Cloud::AppTopology::V1::NodeGroup) — Optional. A dynamic group of nodes, defined by label constraints, that can act as the source for this edge.

    Note: The following fields are mutually exclusive: src_node_group, src_node_type. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AppTopology::V1::NodeGroup) — Optional. A dynamic group of nodes, defined by label constraints, that can act as the source for this edge.

    Note: The following fields are mutually exclusive: src_node_group, src_node_type. If a field in that set is populated, all other fields in the set will automatically be cleared.

#src_node_type

def src_node_type() -> ::String
Returns
  • (::String) — Optional. The specific node type name that acts as the source for this edge.

    Note: The following fields are mutually exclusive: src_node_type, src_node_group. If a field in that set is populated, all other fields in the set will automatically be cleared.

#src_node_type=

def src_node_type=(value) -> ::String
Parameter
  • value (::String) — Optional. The specific node type name that acts as the source for this edge.

    Note: The following fields are mutually exclusive: src_node_type, src_node_group. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. The specific node type name that acts as the source for this edge.

    Note: The following fields are mutually exclusive: src_node_type, src_node_group. If a field in that set is populated, all other fields in the set will automatically be cleared.