Class: Google::Apis::CloudiotV1beta1::NotificationConfig
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CloudiotV1beta1::NotificationConfig
 
- Defined in:
- generated/google/apis/cloudiot_v1beta1/classes.rb,
 generated/google/apis/cloudiot_v1beta1/representations.rb,
 generated/google/apis/cloudiot_v1beta1/representations.rb
Overview
Configuration to forward messages such as telemetry events.
Instance Attribute Summary collapse
- 
  
    
      #pubsub_topic_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A Cloud Pub/Sub topic name. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ NotificationConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of NotificationConfig. 
- 
  
    
      #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) ⇒ NotificationConfig
Returns a new instance of NotificationConfig
| 676 677 678 | # File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 676 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
| 674 675 676 | # File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 674 def pubsub_topic_name @pubsub_topic_name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 681 682 683 | # File 'generated/google/apis/cloudiot_v1beta1/classes.rb', line 681 def update!(**args) @pubsub_topic_name = args[:pubsub_topic_name] if args.key?(:pubsub_topic_name) end |