Reference documentation and code samples for the App Topology V1 API class Google::Cloud::AppTopology::V1::Edge.
Represents a single edge connecting two nodes in the graph.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#context
def context() -> ::Google::Cloud::AppTopology::V1::EntityContext
Returns
- (::Google::Cloud::AppTopology::V1::EntityContext) — The context of the edge.
#context=
def context=(value) -> ::Google::Cloud::AppTopology::V1::EntityContext
Parameter
- value (::Google::Cloud::AppTopology::V1::EntityContext) — The context of the edge.
Returns
- (::Google::Cloud::AppTopology::V1::EntityContext) — The context of the edge.
#destination_node_name
def destination_node_name() -> ::String
Returns
-
(::String) — The name of the destination node for this edge. This is the
namefield in the Node.
#destination_node_name=
def destination_node_name=(value) -> ::String
Parameter
-
value (::String) — The name of the destination node for this edge. This is the
namefield in the Node.
Returns
-
(::String) — The name of the destination node for this edge. This is the
namefield in the Node.
#labels
def labels() -> ::Array<::String>
Returns
- (::Array<::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.
#labels=
def labels=(value) -> ::Array<::String>
Parameter
- value (::Array<::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.
Returns
- (::Array<::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.
#properties
def properties() -> ::Google::Protobuf::Struct
Returns
- (::Google::Protobuf::Struct) — Properties associated with the edge. Refer to https://apptopology.googleapis.com/v1/GetSchema for a detailed list of edge properties.
#properties=
def properties=(value) -> ::Google::Protobuf::Struct
Parameter
- value (::Google::Protobuf::Struct) — Properties associated with the edge. Refer to https://apptopology.googleapis.com/v1/GetSchema for a detailed list of edge properties.
Returns
- (::Google::Protobuf::Struct) — Properties associated with the edge. Refer to https://apptopology.googleapis.com/v1/GetSchema for a detailed list of edge properties.
#source_node_name
def source_node_name() -> ::String
Returns
-
(::String) — The name of the source node for this edge. This is the
namefield in the Node.
#source_node_name=
def source_node_name=(value) -> ::String
Parameter
-
value (::String) — The name of the source node for this edge. This is the
namefield in the Node.
Returns
-
(::String) — The name of the source node for this edge. This is the
namefield in the Node.