Class MetadataFeed (2.19.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 google.cloud.dataplex_v1.types.MetadataFeed.Scope
Required. The scope of the metadata feed. Only the in scope changes are published.
filters 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.