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

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

NodeType defines the schema of a node 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 NodeType.

#description=

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

#labels

def labels() -> ::Array<::String>
Returns
  • (::Array<::String>) — Labels attached to the node. 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 node type.

#labels=

def labels=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Labels attached to the node. 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 node type.
Returns
  • (::Array<::String>) — Labels attached to the node. 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 node type.

#optional_labels

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

#optional_labels=

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

#type

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

#type=

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