Protocol #
A Protocol is a plugin instance defining how a User receives data from Cloudforet.
Package : spaceone.api.notification.plugin
Protocol #
Protocol Methods:
| Method | Request | Response |
|---|---|---|
| init | InitRequest | PluginInfo |
| verify | PluginVerifyRequest | Empty |
init #
Initializes a specific Protocol. During initialization, the Protocol information to be passed to the Protocol user is delivered as metadata. Protocol information includes its name and version.
options (Struct)
RequiredOption value used when initializing the plugin.
{
"options": {}
}metadata (Struct)
RequiredMetadata value required to input various values required for plugin to work. In the case of protocol plugins, when creating a channel, the plugin contains the definition of additional data (channel data) required for channel transmission.
{
"metadata": {}
}verify #
Verifies if a specific Protocol is a valid plugin instance.
options (Struct)
RequiredOption values required for the plugin to work.
secret_data (Struct)
RequiredThe secret value required for the plugin to work. The secret data usually includes the credential information required for the plugin to access the external system.
{
"options": {}
}Message #
InitRequest #
options (Struct)
RequiredOption value used when initializing the plugin.
PluginInfo #
metadata (Struct)
RequiredMetadata value required to input various values required for plugin to work. In the case of protocol plugins, when creating a channel, the plugin contains the definition of additional data (channel data) required for channel transmission.
PluginVerifyRequest #
options (Struct)
RequiredOption values required for the plugin to work.
secret_data (Struct)
RequiredThe secret value required for the plugin to work. The secret data usually includes the credential information required for the plugin to access the external system.