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

pub struct CreateEntitlementRequest {
    pub parent: String,
    pub entitlement: Option<Entitlement>,
    pub request_id: String,
}

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

Fields

parent: String

Required. The resource name of the reseller’s customer account in which to create the entitlement. Parent uses the format: accounts/{account_id}/customers/{customer_id}

entitlement: Option<Entitlement>

Required. The entitlement to create.

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 CreateEntitlementRequest[src]

impl Debug for CreateEntitlementRequest[src]

impl Default for CreateEntitlementRequest[src]

impl Message for CreateEntitlementRequest[src]

impl PartialEq<CreateEntitlementRequest> for CreateEntitlementRequest[src]

impl StructuralPartialEq for CreateEntitlementRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateEntitlementRequest

impl Send for CreateEntitlementRequest

impl Sync for CreateEntitlementRequest

impl Unpin for CreateEntitlementRequest

impl UnwindSafe for CreateEntitlementRequest

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]