Skip to main content

ToTriggerKey

Creates an interfaces.TriggerNameKey from a common.TriggerName proto.

def ToTriggerKey(
name: *common.TriggerName
) - > interfaces.TriggerNameKey

Creates an interfaces.TriggerNameKey from a common.TriggerName proto.

Parameters

NameTypeDescription
name*common.TriggerNameThe common.TriggerName proto containing the project, domain, task name, and trigger name to convert.

Returns

TypeDescription
interfaces.TriggerNameKeyThe interfaces.TriggerNameKey created from the provided TriggerName proto.