Class: Google::Apis::DoubleclickbidmanagerV1::NotifyProposalChangeRequest

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

NotifyProposalChange request.

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) ⇒ NotifyProposalChangeRequest

Returns a new instance of NotifyProposalChangeRequest.



233
234
235
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 233

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

Instance Attribute Details

#actionString

Action taken by publisher. One of: Accept, Decline, Append Corresponds to the JSON property action

Returns:

  • (String)


211
212
213
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 211

def action
  @action
end

#hrefString

URL to access proposal detail. Corresponds to the JSON property href

Returns:

  • (String)


216
217
218
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 216

def href
  @href
end

#idString

Below are contents of notification from Rubicon. Proposal id. Corresponds to the JSON property id

Returns:

  • (String)


221
222
223
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 221

def id
  @id
end

#notesArray<Google::Apis::DoubleclickbidmanagerV1::Note>

Notes from publisher Corresponds to the JSON property notes



226
227
228
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 226

def notes
  @notes
end

#tokenString

Deal token, available when proposal is accepted by publisher. Corresponds to the JSON property token

Returns:

  • (String)


231
232
233
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 231

def token
  @token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



238
239
240
241
242
243
244
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 238

def update!(**args)
  @action = args[:action] if args.key?(:action)
  @href = args[:href] if args.key?(:href)
  @id = args[:id] if args.key?(:id)
  @notes = args[:notes] if args.key?(:notes)
  @token = args[:token] if args.key?(:token)
end