# Class AspectType (2.20.0)

2.20.0 (latest) 2.19.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.2 2.9.0 2.8.0 2.7.1 2.6.0 2.5.0 2.4.0 2.3.1 2.2.2 2.1.0 2.0.1 1.13.0 1.12.3 1.11.0 1.10.0 1.9.0 1.8.1 1.7.0 1.6.2 1.5.1 1.4.3 1.3.0 1.2.0 1.1.3 1.0.1 0.2.1 0.1.0

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

AspectType is a template for creating Aspects, and represents
the JSON-schema for a given Entry, for example, BigQuery Table
Schema.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. The relative resource name of the AspectType, of the form: projects/{project_number}/locations/{location_id}/aspectTypes/{aspect_type_id}. |
| `uid` | `str` Output only. System generated globally unique ID for the AspectType. If you delete and recreate the AspectType with the same name, then this ID will be different. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the AspectType was created. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the AspectType was last updated. |
| `description` | `str` Optional. Description of the AspectType. |
| `display_name` | `str` Optional. User friendly display name. |
| `labels` | `MutableMapping[str, str]` Optional. User-defined labels for the AspectType. |
| `etag` | `str` The service computes this checksum. The client may send it on update and delete requests to ensure it has an up-to-date value before proceeding. |
| `data_classification` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.AspectType.DataClassification` Optional. Immutable. Stores data classification of the aspect. |
| `authorization` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.AspectType.Authorization` Immutable. Defines the Authorization for this type. |
| `metadata_template` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.AspectType.MetadataTemplate` Required. MetadataTemplate of the aspect. |
| `transfer_status` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.TransferStatus` Output only. Denotes the transfer status of the Aspect Type. It is unspecified for Aspect Types created from Dataplex API. |

## Classes

### Authorization

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

Authorization for an AspectType.

### DataClassification

    DataClassification(value)

Classifies the data stored by the aspect.

### LabelsEntry

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

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### MetadataTemplate

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

MetadataTemplate definition for an AspectType.