Class: Google::Apis::DoubleclickbidmanagerV1::Note

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#idString

Note id. Corresponds to the JSON property id

Returns:

  • (String)


168
169
170
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 168

def id
  @id
end

#messageString

Message from publisher. Corresponds to the JSON property message

Returns:

  • (String)


173
174
175
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 173

def message
  @message
end

#sourceString

Equals "publisher" for notification from Rubicon. Corresponds to the JSON property source

Returns:

  • (String)


178
179
180
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 178

def source
  @source
end

#timestampString

Time when the note was added, e.g. "2015-12-16T17:25:35.000-08:00". Corresponds to the JSON property timestamp

Returns:

  • (String)


183
184
185
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 183

def timestamp
  @timestamp
end

#usernameString

Publisher user name. Corresponds to the JSON property username

Returns:

  • (String)


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