Class: Google::Apis::ApihubV1::GoogleCloudApihubV1PluginInstanceActionSource
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1PluginInstanceActionSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apihub_v1/classes.rb,
lib/google/apis/apihub_v1/representations.rb,
lib/google/apis/apihub_v1/representations.rb
Overview
PluginInstanceActionSource represents the plugin instance action source.
Instance Attribute Summary collapse
-
#action_id ⇒ String
Output only.
-
#plugin_instance ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1PluginInstanceActionSource
constructor
A new instance of GoogleCloudApihubV1PluginInstanceActionSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1PluginInstanceActionSource
Returns a new instance of GoogleCloudApihubV1PluginInstanceActionSource.
4136 4137 4138 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_id ⇒ String
Output only. The id of the plugin instance action.
Corresponds to the JSON property actionId
4128 4129 4130 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4128 def action_id @action_id end |
#plugin_instance ⇒ String
Output only. The resource name of the source plugin instance. Format is
projects/project/locations/location/plugins/plugin/instances/instance`
Corresponds to the JSON propertypluginInstance`
4134 4135 4136 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4134 def plugin_instance @plugin_instance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4141 4142 4143 4144 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4141 def update!(**args) @action_id = args[:action_id] if args.key?(:action_id) @plugin_instance = args[:plugin_instance] if args.key?(:plugin_instance) end |