class Google::Apis::AuthorizedbuyersmarketplaceV1::Proposal
Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer.
Attributes
Output only. When the client field is populated, this field refers to the buyer who creates and manages the client buyer and gets billed on behalf of the client buyer; when the buyer field is populated, this field is the same value as buyer. Format : ‘buyers/`buyerAccountId“ Corresponds to the JSON property `billedBuyer` @return [String]
Output only. Refers to a buyer in The Realtime-bidding API. Format: ‘buyers/` buyerAccountId“ Corresponds to the JSON property `buyer` @return [String]
Contact
information for the buyer. Corresponds to the JSON property ‘buyerContacts` @return [Array<Google::Apis::AuthorizedbuyersmarketplaceV1::Contact>]
Buyers are allowed to store certain types of private data in a proposal or deal. Corresponds to the JSON property ‘buyerPrivateData` @return [Google::Apis::AuthorizedbuyersmarketplaceV1::PrivateData]
Output only. Refers to a Client
. Format: ‘buyers/`buyerAccountId`/clients/` clientAccountid“ Corresponds to the JSON property `client` @return [String]
Output only. Type of deal the proposal contains. Corresponds to the JSON property ‘dealType` @return [String]
Output only. The descriptive name for the proposal. Maximum length of 255 unicode characters is allowed. Control characters are not allowed. Buyers cannot update this field. Note: Not to be confused with name, which is a unique identifier of the proposal. Corresponds to the JSON property ‘displayName` @return [String]
Output only. True if the proposal was previously finalized and is now being renegotiated. Corresponds to the JSON property ‘isRenegotiating` @return [Boolean]
Output only. True if the proposal was previously finalized and is now being renegotiated. Corresponds to the JSON property ‘isRenegotiating` @return [Boolean]
Output only. The role of the last user that either updated the proposal or left a comment. Corresponds to the JSON property ‘lastUpdaterOrCommentorRole` @return [String]
Immutable. The name of the proposal serving as a unique identifier. Format: buyers/‘accountId`/proposals/`proposalId` Corresponds to the JSON property `name` @return [String]
A list of notes from the buyer and the seller attached to this proposal. Corresponds to the JSON property ‘notes` @return [Array<Google::Apis::AuthorizedbuyersmarketplaceV1::Note>]
Output only. Indicates whether the buyer/seller created the proposal. Corresponds to the JSON property ‘originatorRole` @return [String]
Whether pausing is allowed for the proposal. This is a negotiable term between buyers and publishers. Corresponds to the JSON property ‘pausingConsented` @return [Boolean]
Whether pausing is allowed for the proposal. This is a negotiable term between buyers and publishers. Corresponds to the JSON property ‘pausingConsented` @return [Boolean]
Output only. The revision number for the proposal. Each update to the proposal or deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made. Corresponds to the JSON property ‘proposalRevision` @return [Fixnum]
Immutable. Reference to the seller on the proposal. Format: ‘buyers/` buyerAccountId`/publisherProfiles/`publisherProfileId“ 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 `publisherProfile` @return [String]
Output only. Contact
information for the seller. Corresponds to the JSON property ‘sellerContacts` @return [Array<Google::Apis::AuthorizedbuyersmarketplaceV1::Contact>]
Output only. Indicates the state of the proposal. Corresponds to the JSON property ‘state` @return [String]
Output only. The terms and conditions associated with this proposal. Accepting a proposal implies acceptance of this field. This is created by the seller, the buyer can only view it. Corresponds to the JSON property ‘termsAndConditions` @return [String]
Output only. The time when the proposal was last revised. Corresponds to the JSON property ‘updateTime` @return [String]
Public Class Methods
# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 1635 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 1640 def update!(**args) @billed_buyer = args[:billed_buyer] if args.key?(:billed_buyer) @buyer = args[:buyer] if args.key?(:buyer) @buyer_contacts = args[:buyer_contacts] if args.key?(:buyer_contacts) @buyer_private_data = args[:buyer_private_data] if args.key?(:buyer_private_data) @client = args[:client] if args.key?(:client) @deal_type = args[:deal_type] if args.key?(:deal_type) @display_name = args[:display_name] if args.key?(:display_name) @is_renegotiating = args[:is_renegotiating] if args.key?(:is_renegotiating) @last_updater_or_commentor_role = args[:last_updater_or_commentor_role] if args.key?(:last_updater_or_commentor_role) @name = args[:name] if args.key?(:name) @notes = args[:notes] if args.key?(:notes) @originator_role = args[:originator_role] if args.key?(:originator_role) @pausing_consented = args[:pausing_consented] if args.key?(:pausing_consented) @proposal_revision = args[:proposal_revision] if args.key?(:proposal_revision) @publisher_profile = args[:publisher_profile] if args.key?(:publisher_profile) @seller_contacts = args[:seller_contacts] if args.key?(:seller_contacts) @state = args[:state] if args.key?(:state) @terms_and_conditions = args[:terms_and_conditions] if args.key?(:terms_and_conditions) @update_time = args[:update_time] if args.key?(:update_time) end