make regen-apis

This commit is contained in:
OMGeeky
2023-10-23 12:55:17 +02:00
parent 8fc78fe0ae
commit c356d5fd0e
887 changed files with 9716 additions and 8753 deletions

View File

@@ -32,21 +32,21 @@ use super::*;
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.accounts().reports_generate("account")
/// .start_date_year(-17)
/// .start_date_month(-99)
/// .start_date_day(-56)
/// .reporting_time_zone("eos")
/// .add_order_by("labore")
/// .add_metrics("sed")
/// .limit(-70)
/// .language_code("sed")
/// .add_filters("no")
/// .end_date_year(-15)
/// .end_date_month(-13)
/// .end_date_day(-24)
/// .add_dimensions("sed")
/// .date_range("et")
/// .currency_code("et")
/// .start_date_year(-37)
/// .start_date_month(-12)
/// .start_date_day(-16)
/// .reporting_time_zone(&Default::default())
/// .add_order_by("est")
/// .add_metrics(&Default::default())
/// .limit(-50)
/// .language_code("ipsum")
/// .add_filters("est")
/// .end_date_year(-62)
/// .end_date_month(-17)
/// .end_date_day(-99)
/// .add_dimensions(&Default::default())
/// .date_range(&Default::default())
/// .currency_code("Lorem")
/// .doit().await;
///
/// match result {

View File

@@ -30,3 +30,6 @@ pub use method_builders::*;
mod call_builders;
pub use call_builders::*;
mod enums;
pub use enums::*;

View File

@@ -60,7 +60,7 @@ pub struct Account {
pub premium: Option<bool>,
/// Output only. State of the account.
pub state: Option<String>,
pub state: Option<AccountStateEnum>,
/// The account time zone, as used by reporting. For more information, see [changing the time zone of your reports](https://support.google.com/adsense/answer/9830725).
#[serde(rename="timeZone")]
@@ -118,7 +118,7 @@ pub struct AdClient {
pub reporting_dimension_id: Option<String>,
/// Output only. State of the ad client.
pub state: Option<String>,
pub state: Option<AdClientStateEnum>,
}
impl client::ResponseResult for AdClient {}
@@ -182,7 +182,7 @@ pub struct AdUnit {
pub reporting_dimension_id: Option<String>,
/// State of the ad unit.
pub state: Option<String>,
pub state: Option<AdUnitStateEnum>,
}
impl client::RequestValue for AdUnit {}
@@ -224,7 +224,7 @@ pub struct Alert {
pub name: Option<String>,
/// Output only. Severity of this alert.
pub severity: Option<String>,
pub severity: Option<AlertSeverityEnum>,
/// Output only. Type of alert. This identifies the broad type of this alert, and provides a stable machine-readable identifier that will not be translated. For example, "payment-hold".
#[serde(rename="type")]
@@ -262,7 +262,7 @@ pub struct ContentAdsSettings {
/// Required. Type of the ad unit.
#[serde(rename="type")]
pub type_: Option<String>,
pub type_: Option<ContentAdsSettingTypeEnum>,
}
impl client::Part for ContentAdsSettings {}
@@ -354,7 +354,7 @@ pub struct Header {
/// Required. Type of the header.
#[serde(rename="type")]
pub type_: Option<String>,
pub type_: Option<HeaderTypeEnum>,
}
impl client::Part for Header {}
@@ -793,7 +793,7 @@ pub struct Site {
pub reporting_dimension_id: Option<String>,
/// Output only. State of a site.
pub state: Option<String>,
pub state: Option<SiteStateEnum>,
}
impl client::ResponseResult for Site {}

View File

@@ -126,21 +126,21 @@
//! // execute the final call using `doit()`.
//! // Values shown here are possibly random and not representative !
//! let result = hub.accounts().reports_generate("account")
//! .start_date_year(-4)
//! .start_date_month(-17)
//! .start_date_day(-55)
//! .reporting_time_zone("invidunt")
//! .add_order_by("amet")
//! .add_metrics("duo")
//! .limit(-50)
//! .language_code("sed")
//! .add_filters("ut")
//! .end_date_year(-12)
//! .end_date_month(-16)
//! .end_date_day(-57)
//! .add_dimensions("ipsum")
//! .date_range("ipsum")
//! .currency_code("est")
//! .start_date_year(-62)
//! .start_date_month(-51)
//! .start_date_day(-12)
//! .reporting_time_zone(&Default::default())
//! .add_order_by("eos")
//! .add_metrics(&Default::default())
//! .limit(-4)
//! .language_code("ea")
//! .add_filters("ipsum")
//! .end_date_year(-88)
//! .end_date_month(-47)
//! .end_date_day(-20)
//! .add_dimensions(&Default::default())
//! .date_range(&Default::default())
//! .currency_code("ipsum")
//! .doit().await;
//!
//! match result {