Google Cloud App Topology V1 Client - Class EntityContext (0.2.0)

Reference documentation and code samples for the Google Cloud App Topology V1 Client class EntityContext.

Represents the context of an entity (node or edge) in the graph.

Generated from protobuf message google.cloud.apptopology.v1.EntityContext

Namespace

Google \ Cloud \ AppTopology \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type string

The primary, namespaced type dictating the node naming format and supported labels, and defined in the Schema (Schema.node_types/edge_types.name), e.g., Base/compute.googleapis.com/Instance.

getType

The primary, namespaced type dictating the node naming format and supported labels, and defined in the Schema (Schema.node_types/edge_types.name), e.g., Base/compute.googleapis.com/Instance.

Returns
Type Description
string

setType

The primary, namespaced type dictating the node naming format and supported labels, and defined in the Schema (Schema.node_types/edge_types.name), e.g., Base/compute.googleapis.com/Instance.

Parameter
Name Description
var string
Returns
Type Description
$this