Reference documentation and code samples for the API hub V1 API module Google::Cloud::ApiHub::V1::PluginInstanceAction::State.
State represents the state of the plugin instance action.
Constants
STATE_UNSPECIFIED
value: 0
Default unspecified state.
ENABLED
value: 1
The action is enabled in the plugin instance i.e., executions can
be triggered for this action.
DISABLED
value: 2
The action is disabled in the plugin instance i.e., no executions
can be triggered for this action. This state indicates that the user
explicitly disabled the instance, and no further action is needed unless
the user wants to re-enable it.
ENABLING
value: 3
The action in the plugin instance is being enabled.
DISABLING
value: 4
The action in the plugin instance is being disabled.
ERROR
value: 5
The ERROR state can come while enabling/disabling plugin instance action.
Users can retrigger enable, disable via
EnablePluginInstanceAction
and
DisablePluginInstanceAction
to restore the action back to enabled/disabled state. Note enable/disable
on actions can only be triggered if plugin instance is in Active state.