Class: Google::Apis::RealtimebiddingV1::WatchCreativesResponse
- Inherits:
-
Object
- Object
- Google::Apis::RealtimebiddingV1::WatchCreativesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/realtimebidding_v1/classes.rb,
generated/google/apis/realtimebidding_v1/representations.rb,
generated/google/apis/realtimebidding_v1/representations.rb
Overview
A response for the request to receive push notification when a bidder's creatives change status.
Instance Attribute Summary collapse
-
#subscription ⇒ String
The Pub/Sub subscription that can be used to pull creative status notifications.
-
#topic ⇒ String
The Pub/Sub topic that will be used to publish creative serving status notifications.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WatchCreativesResponse
constructor
A new instance of WatchCreativesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WatchCreativesResponse
Returns a new instance of WatchCreativesResponse.
1837 1838 1839 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1837 def initialize(**args) update!(**args) end |
Instance Attribute Details
#subscription ⇒ String
The Pub/Sub subscription that can be used to pull creative status
notifications. This would be of the format projects/
project_id/
subscriptions/
subscription_id`. Subscription is created with pull delivery.
All service accounts belonging to the bidder will have read access to this
subscription. Subscriptions that are inactive for more than 90 days will be
disabled. Please use watchCreatives to re-enable the subscription.
Corresponds to the JSON property
subscription`
1828 1829 1830 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1828 def subscription @subscription end |
#topic ⇒ String
The Pub/Sub topic that will be used to publish creative serving status
notifications. This would be of the format projects/
project_id/topics/
topic_id`.
Corresponds to the JSON property
topic`
1835 1836 1837 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1835 def topic @topic end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1842 1843 1844 1845 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1842 def update!(**args) @subscription = args[:subscription] if args.key?(:subscription) @topic = args[:topic] if args.key?(:topic) end |