# Class MetadataFeed (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

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

MetadataFeed contains information related to the metadata
feed.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Identifier. The resource name of the metadata feed, in the format `projects/{project_id_or_number}/locations/{location_id}/metadataFeeds/{metadata_feed_id}`. |
| `uid` | `str` Output only. A system-generated, globally unique ID for the metadata job. If the metadata job is deleted and then re-created with the same name, this ID is different. |
| `scope` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.MetadataFeed.Scope` Required. The scope of the metadata feed. Only the in scope changes are published. |
| `filters` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.MetadataFeed.Filters` Optional. The filters of the metadata feed. Only the changes that match the filters are published. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the feed was created. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the feed was updated. |
| `labels` | `MutableMapping[str, str]` Optional. User-defined labels. |
| `pubsub_topic` | `str` Optional. The pubsub topic that you want the metadata feed messages to publish to. Please grant Dataplex service account the permission to publish messages to the topic. The service account is: service-{PROJECT_NUMBER}@gcp-sa-dataplex.iam.gserviceaccount.com. This field is a member of `oneof`_ `endpoint`. |

## Classes

### Filters

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

Filters defines the type of changes that you want to listen
to. You can have multiple entry type filters and multiple aspect
type filters. All of the entry type filters are OR'ed together.
All of the aspect type filters are OR'ed together.
All of the entry type filters and aspect type filters are AND'ed
together.

### 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. |

### Scope

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

Scope defines the scope of the metadata feed.
Scopes are exclusive. Only one of the scopes can be specified.