Struct google_api_proto::google::ads::googleads::v17::services::SearchGoogleAdsRequest
source · pub struct SearchGoogleAdsRequest {
pub customer_id: String,
pub query: String,
pub page_token: String,
pub page_size: i32,
pub validate_only: bool,
pub return_total_results_count: bool,
pub summary_row_setting: i32,
}
Expand description
Request message for [GoogleAdsService.Search][google.ads.googleads.v17.services.GoogleAdsService.Search].
Fields§
§customer_id: String
Required. The ID of the customer being queried.
query: String
Required. The query string.
page_token: String
Token of the page to retrieve. If not specified, the first
page of results will be returned. Use the value obtained from
next_page_token
in the previous response in order to request
the next page of results.
page_size: i32
Number of elements to retrieve in a single page. When too large a page is requested, the server may decide to further limit the number of returned resources.
validate_only: bool
If true, the request is validated but not executed.
return_total_results_count: bool
If true, the total number of results that match the query ignoring the LIMIT clause will be included in the response. Default is false.
summary_row_setting: i32
Determines whether a summary row will be returned. By default, summary row is not returned. If requested, the summary row will be sent in a response by itself after all other query results are returned.
Implementations§
source§impl SearchGoogleAdsRequest
impl SearchGoogleAdsRequest
sourcepub fn summary_row_setting(&self) -> SummaryRowSetting
pub fn summary_row_setting(&self) -> SummaryRowSetting
Returns the enum value of summary_row_setting
, or the default if the field is set to an invalid enum value.
sourcepub fn set_summary_row_setting(&mut self, value: SummaryRowSetting)
pub fn set_summary_row_setting(&mut self, value: SummaryRowSetting)
Sets summary_row_setting
to the provided enum value.
Trait Implementations§
source§impl Clone for SearchGoogleAdsRequest
impl Clone for SearchGoogleAdsRequest
source§fn clone(&self) -> SearchGoogleAdsRequest
fn clone(&self) -> SearchGoogleAdsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchGoogleAdsRequest
impl Debug for SearchGoogleAdsRequest
source§impl Default for SearchGoogleAdsRequest
impl Default for SearchGoogleAdsRequest
source§impl Message for SearchGoogleAdsRequest
impl Message for SearchGoogleAdsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for SearchGoogleAdsRequest
impl PartialEq for SearchGoogleAdsRequest
source§fn eq(&self, other: &SearchGoogleAdsRequest) -> bool
fn eq(&self, other: &SearchGoogleAdsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchGoogleAdsRequest
Auto Trait Implementations§
impl Freeze for SearchGoogleAdsRequest
impl RefUnwindSafe for SearchGoogleAdsRequest
impl Send for SearchGoogleAdsRequest
impl Sync for SearchGoogleAdsRequest
impl Unpin for SearchGoogleAdsRequest
impl UnwindSafe for SearchGoogleAdsRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request