Struct google_doubleclickbidmanager1d1::api::QueryMethods [−][src]
pub struct QueryMethods<'a> { /* fields omitted */ }
Expand description
A builder providing access to all methods supported on query resources.
It is not used directly, but through the DoubleClickBidManager
hub.
Example
Instantiate a resource builder
extern crate hyper;
extern crate hyper_rustls;
extern crate yup_oauth2 as oauth2;
extern crate google_doubleclickbidmanager1d1 as doubleclickbidmanager1d1;
use std::default::Default;
use oauth2;
use doubleclickbidmanager1d1::DoubleClickBidManager;
let secret: oauth2::ApplicationSecret = Default::default();
let auth = yup_oauth2::InstalledFlowAuthenticator::builder(
secret,
yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect,
).build().await.unwrap();
let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `createquery(...)`, `deletequery(...)`, `getquery(...)`, `listqueries(...)` and `runquery(...)`
// to build up your call.
let rb = hub.queries();
Implementations
Create a builder to help you perform the following task:
Creates a query.
Arguments
request
- No description provided.
Create a builder to help you perform the following task:
Deletes a stored query as well as the associated stored reports.
Arguments
queryId
- Query ID to delete.
Create a builder to help you perform the following task:
Retrieves a stored query.
Arguments
queryId
- Query ID to retrieve.
Create a builder to help you perform the following task:
Retrieves stored queries.
Create a builder to help you perform the following task:
Runs a stored query to generate a report.
Arguments
request
- No description provided.queryId
- Query ID to run.