public sealed class Schema : IMessage<Schema>, IEquatable<Schema>, IDeepCloneable<Schema>, IBufferMessage, IMessageReference documentation and code samples for the App Topology v1 API class Schema.
Schema is a collection of supported node & edge labels and properties for an overlay.
Namespace
Google.Cloud.AppTopology.V1Assembly
Google.Cloud.AppTopology.V1.dll
Constructors
Schema()
public Schema()Schema(Schema)
public Schema(Schema other)| Parameter | |
|---|---|
| Name | Description |
other |
Schema |
Properties
EdgeRules
public RepeatedField<EdgeRule> EdgeRules { get; }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.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldEdgeRule |
|
EdgeTypes
public RepeatedField<EdgeType> EdgeTypes { get; }A list of EdgeTypes defined within this schema.
Refer to the documentation of EdgeType for more details.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldEdgeType |
|
LabelProperties
public RepeatedField<LabelProperties> LabelProperties { get; }A list of supported labels and corresponding properties.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldLabelProperties |
|
Name
public string Name { get; set; }Identifier. The resource name of the schema.
Format:
projects/{project}/locations/{location}/domains/{domain}/schema
| Property Value | |
|---|---|
| Type | Description |
string |
|
NodeTypes
public RepeatedField<NodeType> NodeTypes { get; }A list of NodeTypes defined within this schema.
Refer to the documentation of NodeType for more details.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldNodeType |
|
SchemaName
public SchemaName SchemaName { get; set; }SchemaName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
SchemaName |
|