Resource: Plugin
A plugin resource in the API Hub.
JSON representation |
---|
{ "name": string, "displayName": string, "type": { object ( |
Fields | |
---|---|
name |
Identifier. The name of the plugin. Format: |
displayName |
Required. The display name of the plugin. Max length is 50 characters (Unicode code points). |
type |
Required. The type of the API. This maps to the following system defined attribute: |
description |
Optional. The plugin description. Max length is 2000 characters (Unicode code points). |
state |
Output only. Represents the state of the plugin. |
State
Possible states a plugin can have. Note that this enum may receive new values in the future. Consumers are advised to always code against the enum values expecting new states can be added later on.
Enums | |
---|---|
STATE_UNSPECIFIED |
The default value. This value is used if the state is omitted. |
ENABLED |
The plugin is enabled. |
DISABLED |
The plugin is disabled. |
Methods |
|
---|---|
|
Disables a plugin. |
|
Enables a plugin. |
|
Get details about an API Hub plugin. |
|
Get the style guide being used for linting. |
|
Update the styleGuide to be used for liniting in by API hub. |