Reference documentation and code samples for the Google Cloud App Topology V1 Client class Schema.
Schema is a collection of supported node & edge labels and properties for an overlay.
Generated from protobuf message google.cloud.apptopology.v1.Schema
Namespace
Google \ Cloud \ AppTopology \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The resource name of the schema. Format: |
↳ node_types |
array<NodeType>
A list of |
↳ edge_types |
array<EdgeType>
A list of |
↳ label_properties |
array<LabelProperties>
A list of supported labels and corresponding properties. |
↳ edge_rules |
array<EdgeRule>
Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples. |
getName
Identifier. The resource name of the schema.
Format:
projects/{project}/locations/{location}/domains/{domain}/schema
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The resource name of the schema.
Format:
projects/{project}/locations/{location}/domains/{domain}/schema
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNodeTypes
A list of NodeTypes defined within this schema.
Refer to the documentation of NodeType for more details.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<NodeType> |
|
setNodeTypes
A list of NodeTypes defined within this schema.
Refer to the documentation of NodeType for more details.
| Parameter | |
|---|---|
| Name | Description |
var |
array<NodeType>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEdgeTypes
A list of EdgeTypes defined within this schema.
Refer to the documentation of EdgeType for more details.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<EdgeType> |
|
setEdgeTypes
A list of EdgeTypes defined within this schema.
Refer to the documentation of EdgeType for more details.
| Parameter | |
|---|---|
| Name | Description |
var |
array<EdgeType>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabelProperties
A list of supported labels and corresponding properties.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<LabelProperties> |
|
setLabelProperties
A list of supported labels and corresponding properties.
| Parameter | |
|---|---|
| Name | Description |
var |
array<LabelProperties>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEdgeRules
Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<EdgeRule> |
|
setEdgeRules
Edge rules. These will indicate which node types can be connected and through what edge type. This is a list of (source_node_type, edge_type, destination_node_type) tuples.
| Parameter | |
|---|---|
| Name | Description |
var |
array<EdgeRule>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|