class Google::Apis::Adexchangebuyer2V2beta1::Note

A proposal may be associated to several notes.

Attributes

create_time[RW]

Output only. The timestamp for when this note was created. Corresponds to the JSON property `createTime` @return [String]

creator_role[RW]

Output only. The role of the person (buyer/seller) creating the note. Corresponds to the JSON property `creatorRole` @return [String]

note[RW]

The actual note to attach. (max-length: 1024 unicode code units) Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error. Corresponds to the JSON property `note` @return [String]

note_id[RW]

Output only. The unique ID for the note. Corresponds to the JSON property `noteId` @return [String]

proposal_revision[RW]

Output only. The revision number of the proposal when the note is created. Corresponds to the JSON property `proposalRevision` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 2931
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 2936
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @creator_role = args[:creator_role] if args.key?(:creator_role)
  @note = args[:note] if args.key?(:note)
  @note_id = args[:note_id] if args.key?(:note_id)
  @proposal_revision = args[:proposal_revision] if args.key?(:proposal_revision)
end