Class: Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/adexchangebuyer2_v2beta1/classes.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
A request for watching changes to creative Status.
Instance Attribute Summary collapse
-
#topic ⇒ String
The Pub/Sub topic to publish notifications to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WatchCreativeRequest
constructor
A new instance of WatchCreativeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WatchCreativeRequest
Returns a new instance of WatchCreativeRequest.
4163 4164 4165 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4163 def initialize(**args) update!(**args) end |
Instance Attribute Details
#topic ⇒ String
The Pub/Sub topic to publish notifications to. This topic must already exist
and must give permission to ad-exchange-buyside-reports@google.com to write to
the topic. This should be the full resource name in "projects/project_id
/
topics/topic_id
" format.
Corresponds to the JSON property topic
4161 4162 4163 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4161 def topic @topic end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4168 4169 4170 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4168 def update!(**args) @topic = args[:topic] if args.key?(:topic) end |