# Class SchemaRelationship (0.13.1)

0.13.1 (latest) 0.13.0 0.12.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    SchemaRelationship(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The relationship between two tables, including referencing
and referenced columns. This is a derived context retrieved from
Dataplex Dataset Insights.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `left_schema_paths` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.Context.SchemaRelationship.SchemaPaths` An ordered list of fields for the join from the first table. The size of this list must be the same as `right_schema_paths`. Each field at index i in this list must correspond to a field at the same index in the `right_schema_paths` list. |
| `right_schema_paths` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.Context.SchemaRelationship.SchemaPaths` An ordered list of fields for the join from the second table. The size of this list must be the same as `left_schema_paths`. Each field at index i in this list must correspond to a field at the same index in the `left_schema_paths` list. |
| `sources` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.Context.SchemaRelationship.Source]` Optional. Sources which generated the schema relation edge. |
| `confidence_score` | `float` Optional. A confidence score for the suggested relationship. Manually added edges have the highest confidence score. |

## Classes

### SchemaPaths

    SchemaPaths(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents an ordered set of paths within the table schema.

### Source

    Source(value)

Source which generated the schema relation edge.