PluginInstanceAction(mapping=None, *, ignore_unknown_fields=False, **kwargs)
PluginInstanceAction represents an action which can be executed in the plugin instance.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
hub_instance_action |
google.cloud.apihub_v1.types.ExecutionStatus
Optional. The execution information for the plugin instance action done corresponding to an API hub instance. This field is a member of oneof _ action_status .
|
action_id |
str
Required. This should map to one of the [action id][google.cloud.apihub.v1.PluginActionConfig.id] specified in actions_config in the plugin. |
state |
google.cloud.apihub_v1.types.PluginInstanceAction.State
Output only. The current state of the plugin action in the plugin instance. |
schedule_cron_expression |
str
Optional. The schedule for this plugin instance action. This can only be set if the plugin supports API_HUB_SCHEDULE_TRIGGER mode for this action. |
curation_config |
google.cloud.apihub_v1.types.CurationConfig
Optional. This configuration should be provided if the plugin action is publishing data to API hub curate layer. |
schedule_time_zone |
str
Optional. The time zone for the schedule cron expression. If not provided, UTC will be used. |
service_account |
str
Optional. The service account used to publish data. Note, the service account will only be accepted for non GCP plugins like OPDK. |
resource_config |
google.cloud.apihub_v1.types.PluginInstanceAction.ResourceConfig
Output only. The configuration of resources created for a given plugin instance action. Note these will be returned only in case of Non-GCP plugins like OPDK. |
Classes
ResourceConfig
ResourceConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The configuration of resources created for a given plugin instance action.
State
State(value)
State represents the state of the plugin instance action.