[][src]Struct google_adexchangebuyer2_v2_beta1::Proposal

pub struct Proposal {
    pub update_time: Option<String>,
    pub private_auction_id: Option<String>,
    pub originator_role: Option<String>,
    pub seller_contacts: Option<Vec<ContactInformation>>,
    pub buyer: Option<Buyer>,
    pub display_name: Option<String>,
    pub proposal_state: Option<String>,
    pub proposal_revision: Option<String>,
    pub buyer_private_data: Option<PrivateData>,
    pub billed_buyer: Option<Buyer>,
    pub seller: Option<Seller>,
    pub deals: Option<Vec<Deal>>,
    pub proposal_id: Option<String>,
    pub is_renegotiating: Option<bool>,
    pub is_setup_complete: Option<bool>,
    pub notes: Option<Vec<Note>>,
    pub last_updater_or_commentor_role: Option<String>,
    pub buyer_contacts: Option<Vec<ContactInformation>>,
}

Note: this resource requires whitelisting for access. Please contact your account manager for access to Marketplace resources.

Represents a proposal in the Marketplace. A proposal is the unit of negotiation between a seller and a buyer and contains deals which are served.

Note: you can not update, create, or otherwise modify Private Auction or Preferred Deals deals through the API.

Fields are updatable unless noted otherwise.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

update_time: Option<String>

Output only. The time when the proposal was last revised.

private_auction_id: Option<String>

Output only. Private auction ID if this proposal is a private auction proposal.

originator_role: Option<String>

Output only. Indicates whether the buyer/seller created the proposal.

seller_contacts: Option<Vec<ContactInformation>>

Output only. Contact information for the seller.

buyer: Option<Buyer>

Reference to the buyer on the proposal.

Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.

display_name: Option<String>

The name for the proposal.

proposal_state: Option<String>

Output only. The current state of the proposal.

proposal_revision: Option<String>

Output only. The revision number for the proposal. Each update to the proposal or the 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.

buyer_private_data: Option<PrivateData>

Private data for buyer. (hidden from seller).

billed_buyer: Option<Buyer>

Output only. Reference to the buyer that will get billed for this proposal.

seller: Option<Seller>

Reference to the seller on the proposal.

Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.

deals: Option<Vec<Deal>>

The deals associated with this proposal. For Private Auction proposals (whose deals have NonGuaranteedAuctionTerms), there will only be one deal.

proposal_id: Option<String>

Output only. The unique ID of the proposal.

is_renegotiating: Option<bool>

Output only. True if the proposal is being renegotiated.

is_setup_complete: Option<bool>

Output only. True, if the buyside inventory setup is complete for this proposal.

notes: Option<Vec<Note>>

Output only. The notes associated with this proposal.

last_updater_or_commentor_role: Option<String>

Output only. The role of the last user that either updated the proposal or left a comment.

buyer_contacts: Option<Vec<ContactInformation>>

Contact information for the buyer.

Trait Implementations

impl ResponseResult for Proposal[src]

impl RequestValue for Proposal[src]

impl Default for Proposal[src]

impl Clone for Proposal[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Proposal[src]

impl Serialize for Proposal[src]

impl<'de> Deserialize<'de> for Proposal[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]