Reference documentation and code samples for the Google Cloud Api Hub V1 Client class TriggerMode.
Execution mode of the action.
Protobuf type google.cloud.apihub.v1.PluginActionConfig.TriggerMode
Namespace
Google \ Cloud \ ApiHub \ V1 \ PluginActionConfigMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
TRIGGER_MODE_UNSPECIFIED
Value: 0
Default unspecified mode.
Generated from protobuf enum TRIGGER_MODE_UNSPECIFIED = 0;
API_HUB_ON_DEMAND_TRIGGER
Value: 1
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.
Generated from protobuf enum API_HUB_ON_DEMAND_TRIGGER = 1;
API_HUB_SCHEDULE_TRIGGER
Value: 2
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.
Generated from protobuf enum API_HUB_SCHEDULE_TRIGGER = 2;
NON_API_HUB_MANAGED
Value: 3
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.
Generated from protobuf enum NON_API_HUB_MANAGED = 3;