Reference documentation and code samples for the App Topology V1 API class Google::Cloud::AppTopology::V1::Node.
Represents a single node in the graph.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#context
def context() -> ::Google::Cloud::AppTopology::V1::EntityContext- (::Google::Cloud::AppTopology::V1::EntityContext) — The context of the node.
#context=
def context=(value) -> ::Google::Cloud::AppTopology::V1::EntityContext- value (::Google::Cloud::AppTopology::V1::EntityContext) — The context of the node.
- (::Google::Cloud::AppTopology::V1::EntityContext) — The context of the node.
#labels
def labels() -> ::Array<::String>- (::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>- 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.
- (::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.
#name
def name() -> ::String-
(::String) —
The global unique name of the node. For standard Google Cloud Platform resources, this MUST be the canonical Full Resource Name.
Examples:
type: compute.googleapis.com/Instance name: "//compute.googleapis.com/projects/my-project-id/zones/us-central1-a/instances/my-vm-1"
type: container.googleapis.com/Cluster name: "//container.googleapis.com/projects/my-project-id/locations/us-central1/clusters/my-cluster"
#name=
def name=(value) -> ::String-
value (::String) —
The global unique name of the node. For standard Google Cloud Platform resources, this MUST be the canonical Full Resource Name.
Examples:
type: compute.googleapis.com/Instance name: "//compute.googleapis.com/projects/my-project-id/zones/us-central1-a/instances/my-vm-1"
type: container.googleapis.com/Cluster name: "//container.googleapis.com/projects/my-project-id/locations/us-central1/clusters/my-cluster"
-
(::String) —
The global unique name of the node. For standard Google Cloud Platform resources, this MUST be the canonical Full Resource Name.
Examples:
type: compute.googleapis.com/Instance name: "//compute.googleapis.com/projects/my-project-id/zones/us-central1-a/instances/my-vm-1"
type: container.googleapis.com/Cluster name: "//container.googleapis.com/projects/my-project-id/locations/us-central1/clusters/my-cluster"
#properties
def properties() -> ::Google::Protobuf::Struct- (::Google::Protobuf::Struct) — Properties associated with the node. Refer to https://apptopology.googleapis.com/v1/GetSchema for a detailed list of node properties.
#properties=
def properties=(value) -> ::Google::Protobuf::Struct- value (::Google::Protobuf::Struct) — Properties associated with the node. Refer to https://apptopology.googleapis.com/v1/GetSchema for a detailed list of node properties.
- (::Google::Protobuf::Struct) — Properties associated with the node. Refer to https://apptopology.googleapis.com/v1/GetSchema for a detailed list of node properties.