Reference documentation and code samples for the Google Cloud Api Hub V1 Client class State.
State represents the state of the plugin instance action.
Protobuf type google.cloud.apihub.v1.PluginInstanceAction.State
Namespace
Google \ Cloud \ ApiHub \ V1 \ PluginInstanceActionMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0
Default unspecified state.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
ENABLED
Value: 1
The action is enabled in the plugin instance i.e., executions can be triggered for this action.
Generated from protobuf enum ENABLED = 1;
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.
Generated from protobuf enum DISABLED = 2;
ENABLING
Value: 3
The action in the plugin instance is being enabled.
Generated from protobuf enum ENABLING = 3;
DISABLING
Value: 4
The action in the plugin instance is being disabled.
Generated from protobuf enum DISABLING = 4;
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.
Generated from protobuf enum ERROR = 5;