Struct gapi_grpc::google::cloud::channel::v1::ChangeOfferRequest[][src]

pub struct ChangeOfferRequest {
    pub name: String,
    pub offer: String,
    pub parameters: Vec<Parameter>,
    pub purchase_order_id: String,
    pub request_id: String,
}

Request message for [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].

Fields

name: String

Required. The resource name of the entitlement to update. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

offer: String

Required. New Offer. Format: accounts/{account_id}/offers/{offer_id}.

parameters: Vec<Parameter>

Optional. Parameters needed to purchase the Offer.

purchase_order_id: String

Optional. Purchase order id provided by the reseller.

request_id: String

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it’s complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Trait Implementations

impl Clone for ChangeOfferRequest[src]

impl Debug for ChangeOfferRequest[src]

impl Default for ChangeOfferRequest[src]

impl Message for ChangeOfferRequest[src]

impl PartialEq<ChangeOfferRequest> for ChangeOfferRequest[src]

impl StructuralPartialEq for ChangeOfferRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ChangeOfferRequest

impl Send for ChangeOfferRequest

impl Sync for ChangeOfferRequest

impl Unpin for ChangeOfferRequest

impl UnwindSafe for ChangeOfferRequest

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]