Class: Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb

Overview

A request for watching changes to creative Status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ WatchCreativeRequest

Returns a new instance of WatchCreativeRequest.



4139
4140
4141
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4139

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#topicString

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

Returns:

  • (String)


4137
4138
4139
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4137

def topic
  @topic
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4144
4145
4146
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4144

def update!(**args)
  @topic = args[:topic] if args.key?(:topic)
end