Struct gapi_grpc::google::ads::googleads::v5::services::CreateCustomerClientRequest[][src]

pub struct CreateCustomerClientRequest {
    pub customer_id: String,
    pub customer_client: Option<Customer>,
    pub email_address: String,
    pub access_role: i32,
}

Request message for [CustomerService.CreateCustomerClient][google.ads.googleads.v5.services.CustomerService.CreateCustomerClient].

Fields

customer_id: String

Required. The ID of the Manager under whom client customer is being created.

customer_client: Option<Customer>

Required. The new client customer to create. The resource name on this customer will be ignored.

email_address: String

Email address of the user who should be invited on the created client customer. Accessible only to customers on the allow-list.

access_role: i32

The proposed role of user on the created client customer. Accessible only to customers on the allow-list.

Implementations

impl CreateCustomerClientRequest[src]

pub fn access_role(&self) -> AccessRole[src]

Returns the enum value of access_role, or the default if the field is set to an invalid enum value.

pub fn set_access_role(&mut self, value: AccessRole)[src]

Sets access_role to the provided enum value.

Trait Implementations

impl Clone for CreateCustomerClientRequest[src]

impl Debug for CreateCustomerClientRequest[src]

impl Default for CreateCustomerClientRequest[src]

impl Message for CreateCustomerClientRequest[src]

impl PartialEq<CreateCustomerClientRequest> for CreateCustomerClientRequest[src]

impl StructuralPartialEq for CreateCustomerClientRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateCustomerClientRequest

impl Send for CreateCustomerClientRequest

impl Sync for CreateCustomerClientRequest

impl Unpin for CreateCustomerClientRequest

impl UnwindSafe for CreateCustomerClientRequest

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]