Google Cloud Dataplex V1 Client - Class Filters (1.12.0)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class 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.

Generated from protobuf message google.cloud.dataplex.v1.MetadataFeed.Filters

Namespace

Google \ Cloud \ Dataplex \ V1 \ MetadataFeed

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ entry_types string[]

Optional. The entry types that you want to listen to, specified as relative resource names in the format projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}. Only entries that belong to the specified entry types are published.

↳ aspect_types string[]

Optional. The aspect types that you want to listen to. Depending on how the aspect is attached to the entry, in the format: projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}.

↳ change_types int[]

Optional. The type of change that you want to listen to. If not specified, all changes are published.

getEntryTypes

Optional. The entry types that you want to listen to, specified as relative resource names in the format projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}.

Only entries that belong to the specified entry types are published.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setEntryTypes

Optional. The entry types that you want to listen to, specified as relative resource names in the format projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}.

Only entries that belong to the specified entry types are published.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getAspectTypes

Optional. The aspect types that you want to listen to. Depending on how the aspect is attached to the entry, in the format: projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setAspectTypes

Optional. The aspect types that you want to listen to. Depending on how the aspect is attached to the entry, in the format: projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getChangeTypes

Optional. The type of change that you want to listen to.

If not specified, all changes are published.

Returns
Type Description
Google\Protobuf\RepeatedField<int>

setChangeTypes

Optional. The type of change that you want to listen to.

If not specified, all changes are published.

Parameter
Name Description
var int[]
Returns
Type Description
$this