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 \ V1Methods
__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 |
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 |
|