Class: Google::Apis::CloudiotV1::EventNotificationConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudiotV1::EventNotificationConfig
- Defined in:
- generated/google/apis/cloudiot_v1/classes.rb,
generated/google/apis/cloudiot_v1/representations.rb,
generated/google/apis/cloudiot_v1/representations.rb
Overview
The configuration to forward telemetry events.
Instance Attribute Summary collapse
-
#pubsub_topic_name ⇒ String
A Cloud Pub/Sub topic name.
-
#subfolder_matches ⇒ String
Corresponds to the JSON property
subfolderMatches.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventNotificationConfig
constructor
A new instance of EventNotificationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ EventNotificationConfig
Returns a new instance of EventNotificationConfig
458 459 460 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 458 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pubsub_topic_name ⇒ String
A Cloud Pub/Sub topic name. For example,
projects/myProject/topics/deviceEvents.
Corresponds to the JSON property pubsubTopicName
451 452 453 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 451 def pubsub_topic_name @pubsub_topic_name end |
#subfolder_matches ⇒ String
Corresponds to the JSON property subfolderMatches
456 457 458 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 456 def subfolder_matches @subfolder_matches end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
463 464 465 466 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 463 def update!(**args) @pubsub_topic_name = args[:pubsub_topic_name] if args.key?(:pubsub_topic_name) @subfolder_matches = args[:subfolder_matches] if args.key?(:subfolder_matches) end |