Reference documentation and code samples for the App Topology V1 API class Google::Cloud::AppTopology::V1::Schema.
Schema is a collection of supported node & edge labels and properties for an overlay.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#edge_rules
def edge_rules() -> ::Array<::Google::Cloud::AppTopology::V1::EdgeRule>
Returns
- (::Array<::Google::Cloud::AppTopology::V1::EdgeRule>) — Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.
#edge_rules=
def edge_rules=(value) -> ::Array<::Google::Cloud::AppTopology::V1::EdgeRule>
Parameter
- value (::Array<::Google::Cloud::AppTopology::V1::EdgeRule>) — Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.
Returns
- (::Array<::Google::Cloud::AppTopology::V1::EdgeRule>) — Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.
#edge_types
def edge_types() -> ::Array<::Google::Cloud::AppTopology::V1::EdgeType>
Returns
-
(::Array<::Google::Cloud::AppTopology::V1::EdgeType>) — A list of
EdgeTypes defined within this schema. Refer to the documentation ofEdgeTypefor more details.
#edge_types=
def edge_types=(value) -> ::Array<::Google::Cloud::AppTopology::V1::EdgeType>
Parameter
-
value (::Array<::Google::Cloud::AppTopology::V1::EdgeType>) — A list of
EdgeTypes defined within this schema. Refer to the documentation ofEdgeTypefor more details.
Returns
-
(::Array<::Google::Cloud::AppTopology::V1::EdgeType>) — A list of
EdgeTypes defined within this schema. Refer to the documentation ofEdgeTypefor more details.
#label_properties
def label_properties() -> ::Array<::Google::Cloud::AppTopology::V1::LabelProperties>
Returns
- (::Array<::Google::Cloud::AppTopology::V1::LabelProperties>) — A list of supported labels and corresponding properties.
#label_properties=
def label_properties=(value) -> ::Array<::Google::Cloud::AppTopology::V1::LabelProperties>
Parameter
- value (::Array<::Google::Cloud::AppTopology::V1::LabelProperties>) — A list of supported labels and corresponding properties.
Returns
- (::Array<::Google::Cloud::AppTopology::V1::LabelProperties>) — A list of supported labels and corresponding properties.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. The resource name of the schema.
Format:
projects/{project}/locations/{location}/domains/{domain}/schema
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. The resource name of the schema.
Format:
projects/{project}/locations/{location}/domains/{domain}/schema
Returns
-
(::String) — Identifier. The resource name of the schema.
Format:
projects/{project}/locations/{location}/domains/{domain}/schema
#node_types
def node_types() -> ::Array<::Google::Cloud::AppTopology::V1::NodeType>
Returns
-
(::Array<::Google::Cloud::AppTopology::V1::NodeType>) — A list of
NodeTypes defined within this schema. Refer to the documentation ofNodeTypefor more details.
#node_types=
def node_types=(value) -> ::Array<::Google::Cloud::AppTopology::V1::NodeType>
Parameter
-
value (::Array<::Google::Cloud::AppTopology::V1::NodeType>) — A list of
NodeTypes defined within this schema. Refer to the documentation ofNodeTypefor more details.
Returns
-
(::Array<::Google::Cloud::AppTopology::V1::NodeType>) — A list of
NodeTypes defined within this schema. Refer to the documentation ofNodeTypefor more details.