public enum PluginActionConfig.Types.TriggerMode
Reference documentation and code samples for the API hub v1 API enum PluginActionConfig.Types.TriggerMode.
Execution mode of the action.
Namespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Fields |
|
---|---|
Name | Description |
ApiHubOnDemandTrigger |
This action can be executed by invoking [ExecutePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.ExecutePluginInstanceAction] API with the given action id. To support this, the plugin hosting service should handle this action id as part of execute call. |
ApiHubScheduleTrigger |
This action will be executed on schedule by invoking [ExecutePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.ExecutePluginInstanceAction] API with the given action id. To set the schedule, the user can provide the cron expression in the [PluginAction][PluginAction.schedule_cron_expression] 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. |
NonApiHubManaged |
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. |
Unspecified |
Default unspecified mode. |