Class: Google::Apis::FormsV1::WatchTarget
- Inherits:
-
Object
- Object
- Google::Apis::FormsV1::WatchTarget
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/forms_v1/classes.rb,
lib/google/apis/forms_v1/representations.rb,
lib/google/apis/forms_v1/representations.rb
Overview
The target for notification delivery.
Instance Attribute Summary collapse
-
#topic ⇒ Google::Apis::FormsV1::CloudPubsubTopic
A Pub/Sub topic.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WatchTarget
constructor
A new instance of WatchTarget.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WatchTarget
Returns a new instance of WatchTarget.
1772 1773 1774 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1772 def initialize(**args) update!(**args) end |
Instance Attribute Details
#topic ⇒ Google::Apis::FormsV1::CloudPubsubTopic
A Pub/Sub topic.
Corresponds to the JSON property topic
1770 1771 1772 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1770 def topic @topic end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1777 1778 1779 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1777 def update!(**args) @topic = args[:topic] if args.key?(:topic) end |