Google Cloud Eventarc V1 Client - Class FilteringAttribute (1.0.5)

Reference documentation and code samples for the Google Cloud Eventarc V1 Client class FilteringAttribute.

A representation of the FilteringAttribute resource.

Filtering attributes are per event type.

Generated from protobuf message google.cloud.eventarc.v1.FilteringAttribute

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ attribute string

Output only. Attribute used for filtering the event type.

↳ description string

Output only. Description of the purpose of the attribute.

↳ required bool

Output only. If true, the triggers for this provider should always specify a filter on these attributes. Trigger creation will fail otherwise.

↳ path_pattern_supported bool

Output only. If true, the attribute accepts matching expressions in the Eventarc PathPattern format.

getAttribute

Output only. Attribute used for filtering the event type.

Returns
TypeDescription
string

setAttribute

Output only. Attribute used for filtering the event type.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Output only. Description of the purpose of the attribute.

Returns
TypeDescription
string

setDescription

Output only. Description of the purpose of the attribute.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRequired

Output only. If true, the triggers for this provider should always specify a filter on these attributes. Trigger creation will fail otherwise.

Returns
TypeDescription
bool

setRequired

Output only. If true, the triggers for this provider should always specify a filter on these attributes. Trigger creation will fail otherwise.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getPathPatternSupported

Output only. If true, the attribute accepts matching expressions in the Eventarc PathPattern format.

Returns
TypeDescription
bool

setPathPatternSupported

Output only. If true, the attribute accepts matching expressions in the Eventarc PathPattern format.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this