Enum PluginActionConfig.TriggerMode (0.28.0)

public enum PluginActionConfig.TriggerMode extends Enum<PluginActionConfig.TriggerMode> implements ProtocolMessageEnum

Execution mode of the action.

Protobuf enum google.cloud.apihub.v1.PluginActionConfig.TriggerMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
API_HUB_ON_DEMAND_TRIGGER

This action can be executed by invoking ExecutePluginInstanceAction API with the given action id. To support this, the plugin hosting service should handle this action id as part of execute call.

API_HUB_ON_DEMAND_TRIGGER = 1;

API_HUB_ON_DEMAND_TRIGGER_VALUE

This action can be executed by invoking ExecutePluginInstanceAction API with the given action id. To support this, the plugin hosting service should handle this action id as part of execute call.

API_HUB_ON_DEMAND_TRIGGER = 1;

API_HUB_SCHEDULE_TRIGGER

This action will be executed on schedule by invoking ExecutePluginInstanceAction API with the given action id. To set the schedule, the user can provide the cron expression in the PluginAction field for a given plugin instance. To support this, the plugin hosting service should handle this action id as part of execute call. Note, on demand execution will be supported by default in this trigger mode.

API_HUB_SCHEDULE_TRIGGER = 2;

API_HUB_SCHEDULE_TRIGGER_VALUE

This action will be executed on schedule by invoking ExecutePluginInstanceAction API with the given action id. To set the schedule, the user can provide the cron expression in the PluginAction field for a given plugin instance. To support this, the plugin hosting service should handle this action id as part of execute call. Note, on demand execution will be supported by default in this trigger mode.

API_HUB_SCHEDULE_TRIGGER = 2;

NON_API_HUB_MANAGED

The execution of this plugin is not handled by API hub. In this case, the plugin hosting service need not handle this action id as part of the execute call.

NON_API_HUB_MANAGED = 3;

NON_API_HUB_MANAGED_VALUE

The execution of this plugin is not handled by API hub. In this case, the plugin hosting service need not handle this action id as part of the execute call.

NON_API_HUB_MANAGED = 3;

TRIGGER_MODE_UNSPECIFIED

Default unspecified mode.

TRIGGER_MODE_UNSPECIFIED = 0;

TRIGGER_MODE_UNSPECIFIED_VALUE

Default unspecified mode.

TRIGGER_MODE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()