Struct google_analytics3::api::ProvisioningMethods
source · pub struct ProvisioningMethods<'a, S>where
S: 'a,{ /* private fields */ }Expand description
A builder providing access to all methods supported on provisioning resources.
It is not used directly, but through the Analytics hub.
Example
Instantiate a resource builder
extern crate hyper;
extern crate hyper_rustls;
extern crate google_analytics3 as analytics3;
use std::default::Default;
use analytics3::{Analytics, oauth2, hyper, hyper_rustls, chrono, FieldMask};
let secret: oauth2::ApplicationSecret = Default::default();
let auth = oauth2::InstalledFlowAuthenticator::builder(
secret,
oauth2::InstalledFlowReturnMethod::HTTPRedirect,
).build().await.unwrap();
let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `create_account_ticket(...)` and `create_account_tree(...)`
// to build up your call.
let rb = hub.provisioning();Implementations§
source§impl<'a, S> ProvisioningMethods<'a, S>
impl<'a, S> ProvisioningMethods<'a, S>
sourcepub fn create_account_ticket(
&self,
request: AccountTicket
) -> ProvisioningCreateAccountTicketCall<'a, S>
pub fn create_account_ticket( &self, request: AccountTicket ) -> ProvisioningCreateAccountTicketCall<'a, S>
Create a builder to help you perform the following task:
Creates an account ticket.
Arguments
request- No description provided.
sourcepub fn create_account_tree(
&self,
request: AccountTreeRequest
) -> ProvisioningCreateAccountTreeCall<'a, S>
pub fn create_account_tree( &self, request: AccountTreeRequest ) -> ProvisioningCreateAccountTreeCall<'a, S>
Create a builder to help you perform the following task:
Provision account.
Arguments
request- No description provided.