Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7335a19

Browse files
author
Sebastian Thiel
committed
Regen APIs after removal of breaking special case for Rust types
I can just hope it's breaking everywhere and was never working, as opposed to a special bugfix for just a single API at the time.
1 parent 24b5faa commit 7335a19

33 files changed

Lines changed: 82 additions & 82 deletions

File tree

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ DO NOT EDIT !
66
The MIT License (MIT)
77
=====================
88

9-
Copyright © `2015-2016` `Sebastian Thiel`
9+
Copyright © `2015-2019` `Sebastian Thiel`
1010

1111
Permission is hereby granted, free of charge, to any person
1212
obtaining a copy of this software and associated documentation

gen/accessapproval1_beta1/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ pub struct AccessLocations {
422422
/// <li>ANY: Any location</li>
423423
/// </ol>
424424
#[serde(rename="principalOfficeCountry")]
425-
pub principal_office_country: Option<i64>,
425+
pub principal_office_country: Option<String>,
426426
/// Physical location of the principal at the time of the access. A
427427
/// two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or
428428
/// a region code. In some limited situations Google systems may refer refer to
@@ -439,7 +439,7 @@ pub struct AccessLocations {
439439
/// <li>ANY: Any location</li>
440440
/// </ol>
441441
#[serde(rename="principalPhysicalLocationCountry")]
442-
pub principal_physical_location_country: Option<i64>,
442+
pub principal_physical_location_country: Option<String>,
443443
}
444444

445445
impl Part for AccessLocations {}

gen/adexchangebuyer1d3/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ impl Part for CreativeCorrections {}
675675
pub struct CreativeFilteringReasonsReasons {
676676
/// The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
677677
#[serde(rename="filteringCount")]
678-
pub filtering_count: Option<i64>,
678+
pub filtering_count: Option<String>,
679679
/// The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.
680680
#[serde(rename="filteringStatus")]
681681
pub filtering_status: Option<i32>,

gen/adexchangebuyer1d4/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ impl Part for MarketplaceLabel {}
13591359
pub struct CreativeFilteringReasonsReasons {
13601360
/// The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
13611361
#[serde(rename="filteringCount")]
1362-
pub filtering_count: Option<i64>,
1362+
pub filtering_count: Option<String>,
13631363
/// The filtering status code as defined in creative-status-codes.txt.
13641364
#[serde(rename="filteringStatus")]
13651365
pub filtering_status: Option<i32>,

gen/admin1_directory/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ pub struct Group {
666666
pub admin_created: Option<bool>,
667667
/// Group direct members count
668668
#[serde(rename="directMembersCount")]
669-
pub direct_members_count: Option<i64>,
669+
pub direct_members_count: Option<String>,
670670
/// Email of Group
671671
pub email: Option<String>,
672672
/// ETag of the resource.

gen/analyticsreporting4/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ pub struct ReportData {
464464
/// [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)
465465
/// for details.
466466
#[serde(rename="samplesReadCounts")]
467-
pub samples_read_counts: Option<Vec<i64>>,
467+
pub samples_read_counts: Option<Vec<String>>,
468468
}
469469

470470
impl Part for ReportData {}
@@ -1527,7 +1527,7 @@ pub struct EventData {
15271527
pub event_category: Option<String>,
15281528
/// Number of such events in this activity.
15291529
#[serde(rename="eventCount")]
1530-
pub event_count: Option<i64>,
1530+
pub event_count: Option<String>,
15311531
}
15321532

15331533
impl Part for EventData {}

gen/androidenterprise1/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1704,7 +1704,7 @@ pub struct Product {
17041704
pub small_icon_url: Option<String>,
17051705
/// The countries which this app is available in.
17061706
#[serde(rename="availableCountries")]
1707-
pub available_countries: Option<Vec<i64>>,
1707+
pub available_countries: Option<Vec<String>>,
17081708
/// The localized promotional description, if available.
17091709
pub description: Option<String>,
17101710
/// A description of the recent changes made to the app.

gen/androidmanagement1/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1780,7 +1780,7 @@ pub struct MemoryEvent {
17801780
pub event_type: Option<String>,
17811781
/// The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium.
17821782
#[serde(rename="byteCount")]
1783-
pub byte_count: Option<i64>,
1783+
pub byte_count: Option<String>,
17841784
/// The creation time of the event.
17851785
#[serde(rename="createTime")]
17861786
pub create_time: Option<String>,

gen/bigquery2/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ impl Part for TableDataInsertAllRequestRows {}
456456
pub struct JobStatistics4 {
457457
/// [Output-only] Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field.
458458
#[serde(rename="destinationUriFileCounts")]
459-
pub destination_uri_file_counts: Option<Vec<i64>>,
459+
pub destination_uri_file_counts: Option<Vec<String>>,
460460
/// [Output-only] Number of user bytes extracted into the result. This is the byte count as computed by BigQuery for billing purposes.
461461
#[serde(rename="inputBytes")]
462462
pub input_bytes: Option<String>,
@@ -757,7 +757,7 @@ pub struct Entry {
757757
pub predicted_label: Option<String>,
758758
/// Number of items being predicted as this label.
759759
#[serde(rename="itemCount")]
760-
pub item_count: Option<i64>,
760+
pub item_count: Option<String>,
761761
}
762762

763763
impl Part for Entry {}

gen/clouderrorreporting1_beta1/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ pub struct ErrorGroupStats {
525525
/// implicitly affected, such as due to a crash of the whole service,
526526
/// this is not reflected here.
527527
#[serde(rename="affectedUsersCount")]
528-
pub affected_users_count: Option<i64>,
528+
pub affected_users_count: Option<String>,
529529
/// Service contexts with a non-zero error count for the given filter
530530
/// criteria. This list can be truncated if multiple services are affected.
531531
/// Refer to `num_affected_services` for the total count.
@@ -1297,7 +1297,7 @@ impl<'a, C, A> ProjectGroupGetCall<'a, C, A> where C: BorrowMut<hyper::Client>,
12971297
/// // execute the final call using `doit()`.
12981298
/// // Values shown here are possibly random and not representative !
12991299
/// let result = hub.projects().group_stats_list("projectName")
1300-
/// .timed_count_duration(-18)
1300+
/// .timed_count_duration("dolores")
13011301
/// .time_range_period("kasd")
13021302
/// .service_filter_version("accusam")
13031303
/// .service_filter_service("takimata")
@@ -1316,7 +1316,7 @@ pub struct ProjectGroupStatListCall<'a, C, A>
13161316

13171317
hub: &'a Clouderrorreporting<C, A>,
13181318
_project_name: String,
1319-
_timed_count_duration: Option<i64>,
1319+
_timed_count_duration: Option<String>,
13201320
_time_range_period: Option<String>,
13211321
_service_filter_version: Option<String>,
13221322
_service_filter_service: Option<String>,
@@ -1520,8 +1520,8 @@ impl<'a, C, A> ProjectGroupStatListCall<'a, C, A> where C: BorrowMut<hyper::Clie
15201520
/// If not set, no timed counts are returned.
15211521
///
15221522
/// Sets the *timed count duration* query property to the given value.
1523-
pub fn timed_count_duration(mut self, new_value: i64) -> ProjectGroupStatListCall<'a, C, A> {
1524-
self._timed_count_duration = Some(new_value);
1523+
pub fn timed_count_duration(mut self, new_value: &str) -> ProjectGroupStatListCall<'a, C, A> {
1524+
self._timed_count_duration = Some(new_value.to_string());
15251525
self
15261526
}
15271527
/// Restricts the query to the specified time range.

0 commit comments

Comments
 (0)