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

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

#edge_types=

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

#label_properties

def label_properties() -> ::Array<::Google::Cloud::AppTopology::V1::LabelProperties>
Returns

#label_properties=

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

#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

#node_types=

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