Struct gapi_grpc::google::ads::googleads::v7::services::MutateFeedItemTargetsRequest[][src]

pub struct MutateFeedItemTargetsRequest {
    pub customer_id: String,
    pub operations: Vec<FeedItemTargetOperation>,
    pub partial_failure: bool,
    pub response_content_type: i32,
    pub validate_only: bool,
}

Request message for [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v7.services.FeedItemTargetService.MutateFeedItemTargets].

Fields

customer_id: String

Required. The ID of the customer whose feed item targets are being modified.

operations: Vec<FeedItemTargetOperation>

Required. The list of operations to perform on individual feed item targets.

partial_failure: bool

If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.

response_content_type: i32

The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.

validate_only: bool

If true, the request is validated but not executed. Only errors are returned, not results.

Implementations

impl MutateFeedItemTargetsRequest[src]

pub fn response_content_type(&self) -> ResponseContentType[src]

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

pub fn set_response_content_type(&mut self, value: ResponseContentType)[src]

Sets response_content_type to the provided enum value.

Trait Implementations

impl Clone for MutateFeedItemTargetsRequest[src]

impl Debug for MutateFeedItemTargetsRequest[src]

impl Default for MutateFeedItemTargetsRequest[src]

impl Message for MutateFeedItemTargetsRequest[src]

impl PartialEq<MutateFeedItemTargetsRequest> for MutateFeedItemTargetsRequest[src]

impl StructuralPartialEq for MutateFeedItemTargetsRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for MutateFeedItemTargetsRequest

impl Send for MutateFeedItemTargetsRequest

impl Sync for MutateFeedItemTargetsRequest

impl Unpin for MutateFeedItemTargetsRequest

impl UnwindSafe for MutateFeedItemTargetsRequest

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]