Class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::Note
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1alpha::Note
- 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
-
#create_time ⇒ String
Output only.
-
#creator_role ⇒ String
Output only.
-
#note ⇒ String
The text of the note.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Note
constructor
A new instance of Note.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Note
Returns a new instance of Note.
1699 1700 1701 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1699 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. When this note was created.
Corresponds to the JSON property createTime
1687 1688 1689 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1687 def create_time @create_time end |
#creator_role ⇒ String
Output only. The role who created the note.
Corresponds to the JSON property creatorRole
1692 1693 1694 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1692 def creator_role @creator_role end |
#note ⇒ String
The text of the note. Maximum length is 1024 characters.
Corresponds to the JSON property note
1697 1698 1699 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1697 def note @note end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1704 1705 1706 1707 1708 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 1704 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 |