Plugin(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A plugin resource in the API Hub.
Attributes |
|
---|---|
Name | Description |
name |
str
Identifier. The name of the plugin. Format: projects/{project}/locations/{location}/plugins/{plugin}
|
display_name |
str
Required. The display name of the plugin. Max length is 50 characters (Unicode code points). |
type_ |
google.cloud.apihub_v1.types.AttributeValues
Required. The type of the API. This maps to the following system defined attribute: projects/{project}/locations/{location}/attributes/system-plugin-type
attribute. The number of allowed values for this attribute
will be based on the cardinality of the attribute. The same
can be retrieved via GetAttribute API. All values should be
from the list of allowed values defined for the attribute.
|
description |
str
Optional. The plugin description. Max length is 2000 characters (Unicode code points). |
state |
google.cloud.apihub_v1.types.Plugin.State
Output only. Represents the state of the plugin. |
Classes
State
State(value)
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.