Resource: MetadataFeed
MetadataFeed contains information related to the metadata feed.
| JSON representation |
|---|
{ "name": string, "uid": string, "scope": { object ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the metadata feed, in the format |
uid |
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 |
Required. The scope of the metadata feed. Only the in scope changes are published. |
filters |
Optional. The filters of the metadata feed. Only the changes that match the filters are published. |
createTime |
Output only. The time when the feed was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The time when the feed was updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
labels |
Optional. User-defined labels. An object containing a list of |
Union field endpoint. The endpoint defines the where the metadata feed messages are published. endpoint can be only one of the following: |
|
pubsubTopic |
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. |
Scope
Scope defines the scope of the metadata feed. Scopes are exclusive. Only one of the scopes can be specified.
| JSON representation |
|---|
{ "organizationLevel": boolean, "projects": [ string ], "entryGroups": [ string ] } |
| Fields | |
|---|---|
organizationLevel |
Optional. Whether the metadata feed is at the organization-level.
The default is |
projects[] |
Optional. The projects whose entries you want to listen to. Must be in the same organization as the feed. Must be in the format: |
entryGroups[] |
Optional. The entry groups whose entries you want to listen to. Must be in the format: |
Filters
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.
| JSON representation |
|---|
{
"entryTypes": [
string
],
"aspectTypes": [
string
],
"changeTypes": [
enum ( |
| Fields | |
|---|---|
entryTypes[] |
Optional. The entry types that you want to listen to, specified as relative resource names in the format |
aspectTypes[] |
Optional. The aspect types that you want to listen to. Depending on how the aspect is attached to the entry, in the format: |
changeTypes[] |
Optional. The type of change that you want to listen to. If not specified, all changes are published. |
ChangeType
The type of change that you want to listen to.
| Enums | |
|---|---|
CHANGE_TYPE_UNSPECIFIED |
Unspecified change type. Defaults to UNSPECIFIED. |
CREATE |
The change is a create event. |
UPDATE |
The change is an update event. |
DELETE |
The change is a delete event. |
Methods |
|
|---|---|
|
Creates a MetadataFeed. |
|
Deletes a MetadataFeed. |
|
Gets a MetadataFeed. |
|
Retrieve a list of MetadataFeeds. |
|
Updates a MetadataFeed. |