EventTrigger constructor
EventTrigger({
- String? trigger,
- String? triggerRegion,
- String? eventType,
- Iterable<
EventFilter> ? eventFilters, - String? pubsubTopic,
- String? serviceAccountEmail,
- EventTrigger_RetryPolicy? retryPolicy,
- String? channel,
Implementation
factory EventTrigger({
$core.String? trigger,
$core.String? triggerRegion,
$core.String? eventType,
$core.Iterable<EventFilter>? eventFilters,
$core.String? pubsubTopic,
$core.String? serviceAccountEmail,
EventTrigger_RetryPolicy? retryPolicy,
$core.String? channel,
}) {
final $result = create();
if (trigger != null) {
$result.trigger = trigger;
}
if (triggerRegion != null) {
$result.triggerRegion = triggerRegion;
}
if (eventType != null) {
$result.eventType = eventType;
}
if (eventFilters != null) {
$result.eventFilters.addAll(eventFilters);
}
if (pubsubTopic != null) {
$result.pubsubTopic = pubsubTopic;
}
if (serviceAccountEmail != null) {
$result.serviceAccountEmail = serviceAccountEmail;
}
if (retryPolicy != null) {
$result.retryPolicy = retryPolicy;
}
if (channel != null) {
$result.channel = channel;
}
return $result;
}