Class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::Note

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

Overview

A text note attached to the proposal to facilitate the communication between buyers and sellers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Note

Returns a new instance of Note.



1720
1721
1722
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1720

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

Instance Attribute Details

#create_timeString

Output only. When this note was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1708
1709
1710
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1708

def create_time
  @create_time
end

#creator_roleString

Output only. The role who created the note. Corresponds to the JSON property creatorRole

Returns:

  • (String)


1713
1714
1715
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1713

def creator_role
  @creator_role
end

#noteString

The text of the note. Maximum length is 1024 characters. Corresponds to the JSON property note

Returns:

  • (String)


1718
1719
1720
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1718

def note
  @note
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1725
1726
1727
1728
1729
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1725

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)
end