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

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

EdgeType defines the schema of an edge type in the graph.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#description

def description() -> ::String
Returns
  • (::String) — A human-readable description of the EdgeType.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — A human-readable description of the EdgeType.
Returns
  • (::String) — A human-readable description of the EdgeType.

#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.

#optional_labels

def optional_labels() -> ::Array<::String>
Returns
  • (::Array<::String>) — An edge of this edge type can have 0 or more of these labels. These edge objects of this edge type will have these labels alongside the required labels.

#optional_labels=

def optional_labels=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — An edge of this edge type can have 0 or more of these labels. These edge objects of this edge type will have these labels alongside the required labels.
Returns
  • (::Array<::String>) — An edge of this edge type can have 0 or more of these labels. These edge objects of this edge type will have these labels alongside the required labels.

#type

def type() -> ::String
Returns
  • (::String) — REQUIRED Name of the edge type. This name is used to access the edge type while defining the schema.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — REQUIRED Name of the edge type. This name is used to access the edge type while defining the schema.
Returns
  • (::String) — REQUIRED Name of the edge type. This name is used to access the edge type while defining the schema.