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

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
Returns

#context=

def context=(value) -> ::Google::Cloud::AppTopology::V1::EntityContext
Parameter
Returns

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

#name

def name() -> ::String
Returns
  • (::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
Parameter
  • 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"

Returns
  • (::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
Returns
  • (::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
Parameter
  • value (::Google::Protobuf::Struct) — Properties associated with the node. Refer to https://apptopology.googleapis.com/v1/GetSchema for a detailed list of node properties.
Returns
  • (::Google::Protobuf::Struct) — Properties associated with the node. Refer to https://apptopology.googleapis.com/v1/GetSchema for a detailed list of node properties.