Class: Google::Apis::ApihubV1::GoogleCloudApihubV1ResourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApihubV1::GoogleCloudApihubV1ResourceConfig
- 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
The configuration of resources created for a given plugin instance action.
Instance Attribute Summary collapse
-
#action_type ⇒ String
Output only.
-
#pubsub_topic ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApihubV1ResourceConfig
constructor
A new instance of GoogleCloudApihubV1ResourceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApihubV1ResourceConfig
Returns a new instance of GoogleCloudApihubV1ResourceConfig.
4462 4463 4464 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4462 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_type ⇒ String
Output only. The type of the action.
Corresponds to the JSON property actionType
4454 4455 4456 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4454 def action_type @action_type end |
#pubsub_topic ⇒ String
Output only. The pubsub topic to publish the data to. Format is projects/
project/topics/topic
Corresponds to the JSON property pubsubTopic
4460 4461 4462 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4460 def pubsub_topic @pubsub_topic end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4467 4468 4469 4470 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4467 def update!(**args) @action_type = args[:action_type] if args.key?(:action_type) @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic) end |