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.
4244 4245 4246 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4244 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
4236 4237 4238 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4236 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
4242 4243 4244 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4242 def pubsub_topic @pubsub_topic end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4249 4250 4251 4252 |
# File 'lib/google/apis/apihub_v1/classes.rb', line 4249 def update!(**args) @action_type = args[:action_type] if args.key?(:action_type) @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic) end |