# Class Affiliation (0.9.0)

0.9.0 (latest) 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

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

Affiliation information of a resource

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `resource_id` | `str` Optional. resource id of affiliated resource |
| `full_resource_name` | `str` Optional. Full resource name |
| `lineages` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-databasecenter/latest/google.cloud.databasecenter_v1beta.types.Affiliation.Lineage]` Optional. Multiple lineages can be created from a resource. For example, a resource can be replicated to multiple target resources. In this case, there will be multiple lineages for the resource, one for each target resource. |

## Classes

### Lineage

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

lineage information of the affiliated resources
This captures source, target and process which created the
lineage.

### ProcessType

    ProcessType(value)

Type of process which created the lineage.