Class: Google::Apis::DoubleclickbidmanagerV1::Note
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclickbidmanagerV1::Note
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/doubleclickbidmanager_v1/classes.rb,
generated/google/apis/doubleclickbidmanager_v1/representations.rb,
generated/google/apis/doubleclickbidmanager_v1/representations.rb
Overview
Publisher comment from Rubicon.
Instance Attribute Summary collapse
-
#id ⇒ String
Note id.
-
#message ⇒ String
Message from publisher.
-
#source ⇒ String
Equals "publisher" for notification from Rubicon.
-
#timestamp ⇒ String
Time when the note was added, e.g.
-
#username ⇒ String
Publisher user name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Note
constructor
A new instance of Note.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Note
Returns a new instance of Note.
190 191 192 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 190 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Note id.
Corresponds to the JSON property id
168 169 170 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 168 def id @id end |
#message ⇒ String
Message from publisher.
Corresponds to the JSON property message
173 174 175 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 173 def @message end |
#source ⇒ String
Equals "publisher" for notification from Rubicon.
Corresponds to the JSON property source
178 179 180 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 178 def source @source end |
#timestamp ⇒ String
Time when the note was added, e.g. "2015-12-16T17:25:35.000-08:00".
Corresponds to the JSON property timestamp
183 184 185 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 183 def @timestamp end |
#username ⇒ String
Publisher user name.
Corresponds to the JSON property username
188 189 190 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 188 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
195 196 197 198 199 200 201 |
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 195 def update!(**args) @id = args[:id] if args.key?(:id) @message = args[:message] if args.key?(:message) @source = args[:source] if args.key?(:source) @timestamp = args[:timestamp] if args.key?(:timestamp) @username = args[:username] if args.key?(:username) end |