diff --git a/LICENSE.md b/LICENSE.md
index ff523b4547..dd8e521f82 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -6,7 +6,7 @@ DO NOT EDIT !
The MIT License (MIT)
=====================
-Copyright © `2015-2016` `Sebastian Thiel`
+Copyright © `2015-2019` `Sebastian Thiel`
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
diff --git a/gen/accessapproval1_beta1/src/lib.rs b/gen/accessapproval1_beta1/src/lib.rs
index 806d2354e8..728844d70f 100644
--- a/gen/accessapproval1_beta1/src/lib.rs
+++ b/gen/accessapproval1_beta1/src/lib.rs
@@ -422,7 +422,7 @@ pub struct AccessLocations {
///
ANY: Any location
///
#[serde(rename="principalOfficeCountry")]
- pub principal_office_country: Option,
+ pub principal_office_country: Option,
/// Physical location of the principal at the time of the access. A
/// two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or
/// a region code. In some limited situations Google systems may refer refer to
@@ -439,7 +439,7 @@ pub struct AccessLocations {
/// ANY: Any location
///
#[serde(rename="principalPhysicalLocationCountry")]
- pub principal_physical_location_country: Option,
+ pub principal_physical_location_country: Option,
}
impl Part for AccessLocations {}
diff --git a/gen/adexchangebuyer1d3/src/lib.rs b/gen/adexchangebuyer1d3/src/lib.rs
index a045906a0d..db294305ec 100644
--- a/gen/adexchangebuyer1d3/src/lib.rs
+++ b/gen/adexchangebuyer1d3/src/lib.rs
@@ -675,7 +675,7 @@ impl Part for CreativeCorrections {}
pub struct CreativeFilteringReasonsReasons {
/// The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
#[serde(rename="filteringCount")]
- pub filtering_count: Option,
+ pub filtering_count: Option,
/// The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.
#[serde(rename="filteringStatus")]
pub filtering_status: Option,
diff --git a/gen/adexchangebuyer1d4/src/lib.rs b/gen/adexchangebuyer1d4/src/lib.rs
index ff090dafc4..4575a714f6 100644
--- a/gen/adexchangebuyer1d4/src/lib.rs
+++ b/gen/adexchangebuyer1d4/src/lib.rs
@@ -1359,7 +1359,7 @@ impl Part for MarketplaceLabel {}
pub struct CreativeFilteringReasonsReasons {
/// The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
#[serde(rename="filteringCount")]
- pub filtering_count: Option,
+ pub filtering_count: Option,
/// The filtering status code as defined in creative-status-codes.txt.
#[serde(rename="filteringStatus")]
pub filtering_status: Option,
diff --git a/gen/admin1_directory/src/lib.rs b/gen/admin1_directory/src/lib.rs
index 30ba296d4e..38852fad39 100644
--- a/gen/admin1_directory/src/lib.rs
+++ b/gen/admin1_directory/src/lib.rs
@@ -666,7 +666,7 @@ pub struct Group {
pub admin_created: Option,
/// Group direct members count
#[serde(rename="directMembersCount")]
- pub direct_members_count: Option,
+ pub direct_members_count: Option,
/// Email of Group
pub email: Option,
/// ETag of the resource.
diff --git a/gen/analyticsreporting4/src/lib.rs b/gen/analyticsreporting4/src/lib.rs
index 3e12ccc1b3..c18305b197 100644
--- a/gen/analyticsreporting4/src/lib.rs
+++ b/gen/analyticsreporting4/src/lib.rs
@@ -464,7 +464,7 @@ pub struct ReportData {
/// [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)
/// for details.
#[serde(rename="samplesReadCounts")]
- pub samples_read_counts: Option>,
+ pub samples_read_counts: Option>,
}
impl Part for ReportData {}
@@ -1527,7 +1527,7 @@ pub struct EventData {
pub event_category: Option,
/// Number of such events in this activity.
#[serde(rename="eventCount")]
- pub event_count: Option,
+ pub event_count: Option,
}
impl Part for EventData {}
diff --git a/gen/androidenterprise1/src/lib.rs b/gen/androidenterprise1/src/lib.rs
index d3b8e9efde..c2fd15fd8c 100644
--- a/gen/androidenterprise1/src/lib.rs
+++ b/gen/androidenterprise1/src/lib.rs
@@ -1704,7 +1704,7 @@ pub struct Product {
pub small_icon_url: Option,
/// The countries which this app is available in.
#[serde(rename="availableCountries")]
- pub available_countries: Option>,
+ pub available_countries: Option>,
/// The localized promotional description, if available.
pub description: Option,
/// A description of the recent changes made to the app.
diff --git a/gen/androidmanagement1/src/lib.rs b/gen/androidmanagement1/src/lib.rs
index a646db4dea..262afd13b2 100644
--- a/gen/androidmanagement1/src/lib.rs
+++ b/gen/androidmanagement1/src/lib.rs
@@ -1780,7 +1780,7 @@ pub struct MemoryEvent {
pub event_type: Option,
/// The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium.
#[serde(rename="byteCount")]
- pub byte_count: Option,
+ pub byte_count: Option,
/// The creation time of the event.
#[serde(rename="createTime")]
pub create_time: Option,
diff --git a/gen/bigquery2/src/lib.rs b/gen/bigquery2/src/lib.rs
index a0828677fa..4d19d2e8d5 100644
--- a/gen/bigquery2/src/lib.rs
+++ b/gen/bigquery2/src/lib.rs
@@ -456,7 +456,7 @@ impl Part for TableDataInsertAllRequestRows {}
pub struct JobStatistics4 {
/// [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.
#[serde(rename="destinationUriFileCounts")]
- pub destination_uri_file_counts: Option>,
+ pub destination_uri_file_counts: Option>,
/// [Output-only] Number of user bytes extracted into the result. This is the byte count as computed by BigQuery for billing purposes.
#[serde(rename="inputBytes")]
pub input_bytes: Option,
@@ -757,7 +757,7 @@ pub struct Entry {
pub predicted_label: Option,
/// Number of items being predicted as this label.
#[serde(rename="itemCount")]
- pub item_count: Option,
+ pub item_count: Option,
}
impl Part for Entry {}
diff --git a/gen/clouderrorreporting1_beta1/src/lib.rs b/gen/clouderrorreporting1_beta1/src/lib.rs
index 2f04056a41..ec0f06fe1d 100644
--- a/gen/clouderrorreporting1_beta1/src/lib.rs
+++ b/gen/clouderrorreporting1_beta1/src/lib.rs
@@ -525,7 +525,7 @@ pub struct ErrorGroupStats {
/// implicitly affected, such as due to a crash of the whole service,
/// this is not reflected here.
#[serde(rename="affectedUsersCount")]
- pub affected_users_count: Option,
+ pub affected_users_count: Option,
/// Service contexts with a non-zero error count for the given filter
/// criteria. This list can be truncated if multiple services are affected.
/// Refer to `num_affected_services` for the total count.
@@ -1297,7 +1297,7 @@ impl<'a, C, A> ProjectGroupGetCall<'a, C, A> where C: BorrowMut,
/// // execute the final call using `doit()`.
/// // Values shown here are possibly random and not representative !
/// let result = hub.projects().group_stats_list("projectName")
-/// .timed_count_duration(-18)
+/// .timed_count_duration("dolores")
/// .time_range_period("kasd")
/// .service_filter_version("accusam")
/// .service_filter_service("takimata")
@@ -1316,7 +1316,7 @@ pub struct ProjectGroupStatListCall<'a, C, A>
hub: &'a Clouderrorreporting,
_project_name: String,
- _timed_count_duration: Option,
+ _timed_count_duration: Option,
_time_range_period: Option,
_service_filter_version: Option,
_service_filter_service: Option,
@@ -1520,8 +1520,8 @@ impl<'a, C, A> ProjectGroupStatListCall<'a, C, A> where C: BorrowMut ProjectGroupStatListCall<'a, C, A> {
- self._timed_count_duration = Some(new_value);
+ pub fn timed_count_duration(mut self, new_value: &str) -> ProjectGroupStatListCall<'a, C, A> {
+ self._timed_count_duration = Some(new_value.to_string());
self
}
/// Restricts the query to the specified time range.
diff --git a/gen/compute1/src/lib.rs b/gen/compute1/src/lib.rs
index 43a14703c1..bb9e591520 100644
--- a/gen/compute1/src/lib.rs
+++ b/gen/compute1/src/lib.rs
@@ -8077,7 +8077,7 @@ pub struct AllocationSpecificSKUReservation {
pub instance_properties: Option,
/// [OutputOnly] Indicates how many resource are in use.
#[serde(rename="inUseCount")]
- pub in_use_count: Option,
+ pub in_use_count: Option,
}
impl Part for AllocationSpecificSKUReservation {}
@@ -14327,7 +14327,7 @@ impl ResponseResult for CommitmentList {}
pub struct ReservationsResizeRequest {
/// Number of allocated resources can be resized with minimum = 1 and maximum = 1000.
#[serde(rename="specificSkuCount")]
- pub specific_sku_count: Option,
+ pub specific_sku_count: Option,
}
impl RequestValue for ReservationsResizeRequest {}
diff --git a/gen/container1/src/lib.rs b/gen/container1/src/lib.rs
index f69de016ce..9760586607 100644
--- a/gen/container1/src/lib.rs
+++ b/gen/container1/src/lib.rs
@@ -457,7 +457,7 @@ impl RequestValue for SetMaintenancePolicyRequest {}
pub struct AcceleratorConfig {
/// The number of the accelerator cards exposed to an instance.
#[serde(rename="acceleratorCount")]
- pub accelerator_count: Option,
+ pub accelerator_count: Option,
/// The accelerator type resource name. List of supported accelerators
/// [here](/compute/docs/gpus/#Introduction)
#[serde(rename="acceleratorType")]
diff --git a/gen/containeranalysis1_beta1/src/lib.rs b/gen/containeranalysis1_beta1/src/lib.rs
index 06e97cc62f..0d462cccc5 100644
--- a/gen/containeranalysis1_beta1/src/lib.rs
+++ b/gen/containeranalysis1_beta1/src/lib.rs
@@ -2323,7 +2323,7 @@ impl Part for AuditConfig {}
pub struct FixableTotalByDigest {
/// The total number of vulnerabilities associated with this resource.
#[serde(rename="totalCount")]
- pub total_count: Option,
+ pub total_count: Option,
/// The affected resource.
pub resource: Option,
/// The severity for this count. SEVERITY_UNSPECIFIED indicates total across
@@ -2331,7 +2331,7 @@ pub struct FixableTotalByDigest {
pub severity: Option,
/// The number of fixable vulnerabilities associated with this resource.
#[serde(rename="fixableCount")]
- pub fixable_count: Option,
+ pub fixable_count: Option,
}
impl Part for FixableTotalByDigest {}
diff --git a/gen/content2/src/lib.rs b/gen/content2/src/lib.rs
index c036c9d3cb..589f5f2aa9 100644
--- a/gen/content2/src/lib.rs
+++ b/gen/content2/src/lib.rs
@@ -743,7 +743,7 @@ pub struct OrderLineItemProduct {
pub condition: Option,
/// The CLDR territory code of the target country of the product.
#[serde(rename="targetCountry")]
- pub target_country: Option,
+ pub target_country: Option,
/// URL to the cached image shown to the user when order was placed.
#[serde(rename="shownImage")]
pub shown_image: Option,
@@ -1236,7 +1236,7 @@ pub struct PosSaleResponse {
pub price: Option,
/// The CLDR territory code for the item.
#[serde(rename="targetCountry")]
- pub target_country: Option,
+ pub target_country: Option,
/// Global Trade Item Number.
pub gtin: Option,
/// A unique ID to group items from the same sale event.
@@ -1470,7 +1470,7 @@ pub struct PosInventoryResponse {
pub price: Option,
/// The CLDR territory code for the item.
#[serde(rename="targetCountry")]
- pub target_country: Option,
+ pub target_country: Option,
/// Global Trade Item Number.
pub gtin: Option,
/// The available quantity of the item.
@@ -1957,7 +1957,7 @@ pub struct PosInventoryRequest {
pub store_code: Option,
/// The CLDR territory code for the item.
#[serde(rename="targetCountry")]
- pub target_country: Option,
+ pub target_country: Option,
/// The two-letter ISO 639-1 language code for the item.
#[serde(rename="contentLanguage")]
pub content_language: Option,
@@ -2218,7 +2218,7 @@ pub struct PosSale {
pub price: Option,
/// The CLDR territory code for the item.
#[serde(rename="targetCountry")]
- pub target_country: Option,
+ pub target_country: Option,
/// Global Trade Item Number.
pub gtin: Option,
/// A unique ID to group items from the same sale event.
@@ -2834,7 +2834,7 @@ pub struct Datafeed {
pub fetch_schedule: Option,
/// [DEPRECATED] Please use targets[].country instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.
#[serde(rename="targetCountry")]
- pub target_country: Option,
+ pub target_country: Option,
/// The filename of the feed. All feeds must have a unique file name.
#[serde(rename="fileName")]
pub file_name: Option,
@@ -3054,7 +3054,7 @@ pub struct PosSaleRequest {
pub store_code: Option,
/// The CLDR territory code for the item.
#[serde(rename="targetCountry")]
- pub target_country: Option,
+ pub target_country: Option,
/// The two-letter ISO 639-1 language code for the item.
#[serde(rename="contentLanguage")]
pub content_language: Option,
@@ -3980,7 +3980,7 @@ pub struct Service {
pub eligibility: Option,
/// The CLDR territory code of the country to which the service applies. Required.
#[serde(rename="deliveryCountry")]
- pub delivery_country: Option,
+ pub delivery_country: Option,
/// Shipping rate group definitions. Only the last one is allowed to have an empty applicableShippingLabels, which means "everything else". The other applicableShippingLabels must not overlap.
#[serde(rename="rateGroups")]
pub rate_groups: Option>,
@@ -5873,7 +5873,7 @@ impl Part for LocationIdSet {}
pub struct GmbAccountsGmbAccount {
/// Number of listings under this account.
#[serde(rename="listingCount")]
- pub listing_count: Option,
+ pub listing_count: Option,
/// The type of the GMB account (User or Business).
#[serde(rename="type")]
pub type_: Option,
@@ -5941,7 +5941,7 @@ pub struct PosInventory {
pub price: Option,
/// The CLDR territory code for the item.
#[serde(rename="targetCountry")]
- pub target_country: Option,
+ pub target_country: Option,
/// Global Trade Item Number.
pub gtin: Option,
/// The available quantity of the item.
@@ -6386,7 +6386,7 @@ impl Part for TransitTableTransitTimeRow {}
pub struct TestOrderLineItemProduct {
/// The CLDR territory code of the target country of the product.
#[serde(rename="targetCountry")]
- pub target_country: Option,
+ pub target_country: Option,
/// The two-letter ISO 639-1 language code for the item.
#[serde(rename="contentLanguage")]
pub content_language: Option,
@@ -6878,7 +6878,7 @@ pub struct Product {
pub destinations: Option>,
/// The CLDR territory code for the item.
#[serde(rename="targetCountry")]
- pub target_country: Option,
+ pub target_country: Option,
/// Custom label 4 for custom grouping of items in a Shopping campaign.
#[serde(rename="customLabel4")]
pub custom_label4: Option,
diff --git a/gen/content2_sandbox/src/lib.rs b/gen/content2_sandbox/src/lib.rs
index df70cebd09..c2e063d1e5 100644
--- a/gen/content2_sandbox/src/lib.rs
+++ b/gen/content2_sandbox/src/lib.rs
@@ -848,7 +848,7 @@ impl Part for OrderAddress {}
pub struct OrderLineItemProduct {
/// The CLDR territory code of the target country of the product.
#[serde(rename="targetCountry")]
- pub target_country: Option,
+ pub target_country: Option,
/// URL to the cached image shown to the user when order was placed.
#[serde(rename="shownImage")]
pub shown_image: Option,
@@ -2830,7 +2830,7 @@ impl Part for OrderLegacyPromotion {}
pub struct TestOrderLineItemProduct {
/// The CLDR territory code of the target country of the product.
#[serde(rename="targetCountry")]
- pub target_country: Option,
+ pub target_country: Option,
/// The two-letter ISO 639-1 language code for the item.
#[serde(rename="contentLanguage")]
pub content_language: Option,
diff --git a/gen/dlp2/src/lib.rs b/gen/dlp2/src/lib.rs
index fc18902c51..80e0fac02c 100644
--- a/gen/dlp2/src/lib.rs
+++ b/gen/dlp2/src/lib.rs
@@ -1122,7 +1122,7 @@ pub struct GooglePrivacyDlpV2CategoricalStatsHistogramBucket {
pub bucket_values: Option>,
/// Total number of distinct values in this bucket.
#[serde(rename="bucketValueCount")]
- pub bucket_value_count: Option,
+ pub bucket_value_count: Option,
/// Total number of values in this bucket.
#[serde(rename="bucketSize")]
pub bucket_size: Option,
@@ -2616,7 +2616,7 @@ pub struct GooglePrivacyDlpV2KMapEstimationHistogramBucket {
pub min_anonymity: Option,
/// Total number of distinct quasi-identifier tuple values in this bucket.
#[serde(rename="bucketValueCount")]
- pub bucket_value_count: Option,
+ pub bucket_value_count: Option,
/// Always greater than or equal to min_anonymity.
#[serde(rename="maxAnonymity")]
pub max_anonymity: Option,
@@ -2693,7 +2693,7 @@ pub struct GooglePrivacyDlpV2KAnonymityHistogramBucket {
pub bucket_values: Option>,
/// Total number of distinct equivalence classes in this bucket.
#[serde(rename="bucketValueCount")]
- pub bucket_value_count: Option,
+ pub bucket_value_count: Option,
/// Lower bound on the size of the equivalence classes in this bucket.
#[serde(rename="equivalenceClassSizeLowerBound")]
pub equivalence_class_size_lower_bound: Option,
@@ -3307,7 +3307,7 @@ pub struct GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket {
pub bucket_values: Option>,
/// Total number of distinct quasi-identifier tuple values in this bucket.
#[serde(rename="bucketValueCount")]
- pub bucket_value_count: Option,
+ pub bucket_value_count: Option,
/// Number of records within these probability bounds.
#[serde(rename="bucketSize")]
pub bucket_size: Option,
@@ -4351,7 +4351,7 @@ pub struct GooglePrivacyDlpV2LDiversityHistogramBucket {
pub bucket_values: Option>,
/// Total number of distinct equivalence classes in this bucket.
#[serde(rename="bucketValueCount")]
- pub bucket_value_count: Option,
+ pub bucket_value_count: Option,
/// Total number of equivalence classes in this bucket.
#[serde(rename="bucketSize")]
pub bucket_size: Option,
diff --git a/gen/doubleclicksearch2/src/lib.rs b/gen/doubleclicksearch2/src/lib.rs
index af48d0f5ab..6f6c3a1836 100644
--- a/gen/doubleclicksearch2/src/lib.rs
+++ b/gen/doubleclicksearch2/src/lib.rs
@@ -444,7 +444,7 @@ pub struct Conversion {
pub currency_code: Option,
/// The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country.
#[serde(rename="productCountry")]
- pub product_country: Option,
+ pub product_country: Option,
/// The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated.
pub state: Option,
/// The type of device on which the conversion occurred.
@@ -534,7 +534,7 @@ pub struct ReportFiles {
pub url: Option,
/// The size of this report file in bytes.
#[serde(rename="byteCount")]
- pub byte_count: Option,
+ pub byte_count: Option,
}
impl NestedType for ReportFiles {}
diff --git a/gen/drive2/src/lib.rs b/gen/drive2/src/lib.rs
index 356c324282..7a0feee0ac 100644
--- a/gen/drive2/src/lib.rs
+++ b/gen/drive2/src/lib.rs
@@ -19254,7 +19254,7 @@ impl<'a, C, A> ReplyUpdateCall<'a, C, A> where C: BorrowMut, A: o
/// // Values shown here are possibly random and not representative !
/// let result = hub.about().get()
/// .start_change_id("clita")
-/// .max_change_id_count(-24)
+/// .max_change_id_count("eos")
/// .include_subscribed(false)
/// .doit();
/// # }
@@ -19264,7 +19264,7 @@ pub struct AboutGetCall<'a, C, A>
hub: &'a DriveHub,
_start_change_id: Option,
- _max_change_id_count: Option,
+ _max_change_id_count: Option,
_include_subscribed: Option,
_delegate: Option<&'a mut Delegate>,
_additional_params: HashMap,
@@ -19398,8 +19398,8 @@ impl<'a, C, A> AboutGetCall<'a, C, A> where C: BorrowMut, A: oaut
/// Maximum number of remaining change IDs to count
///
/// Sets the *max change id count* query property to the given value.
- pub fn max_change_id_count(mut self, new_value: i64) -> AboutGetCall<'a, C, A> {
- self._max_change_id_count = Some(new_value);
+ pub fn max_change_id_count(mut self, new_value: &str) -> AboutGetCall<'a, C, A> {
+ self._max_change_id_count = Some(new_value.to_string());
self
}
/// Whether to count changes outside the My Drive hierarchy. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the maxChangeIdCount.
diff --git a/gen/firebasehosting1_beta1/src/lib.rs b/gen/firebasehosting1_beta1/src/lib.rs
index 6ddf2cfa85..ee2ffb93c2 100644
--- a/gen/firebasehosting1_beta1/src/lib.rs
+++ b/gen/firebasehosting1_beta1/src/lib.rs
@@ -918,7 +918,7 @@ pub struct Version {
/// Output only. The total number of files associated with the version.
///
This value is calculated after a version is `FINALIZED`.
#[serde(rename="fileCount")]
- pub file_count: Option,
+ pub file_count: Option,
}
impl RequestValue for Version {}
diff --git a/gen/games1/src/lib.rs b/gen/games1/src/lib.rs
index 8449846c0c..11772ab82e 100644
--- a/gen/games1/src/lib.rs
+++ b/gen/games1/src/lib.rs
@@ -691,7 +691,7 @@ pub struct EventUpdateRequest {
pub kind: Option,
/// The number of times this event occurred in this time period.
#[serde(rename="updateCount")]
- pub update_count: Option,
+ pub update_count: Option,
}
impl Part for EventUpdateRequest {}
diff --git a/gen/manufacturers1/src/lib.rs b/gen/manufacturers1/src/lib.rs
index ba1a34c0e3..7c654408e0 100644
--- a/gen/manufacturers1/src/lib.rs
+++ b/gen/manufacturers1/src/lib.rs
@@ -399,7 +399,7 @@ pub struct Product {
/// The target country of the product as a CLDR territory code (for example,
/// US).
#[serde(rename="targetCountry")]
- pub target_country: Option,
+ pub target_country: Option,
/// The status of the destinations.
#[serde(rename="destinationStatuses")]
pub destination_statuses: Option>,
diff --git a/gen/ml1/src/lib.rs b/gen/ml1/src/lib.rs
index 1a29dffd48..549d8f79e3 100644
--- a/gen/ml1/src/lib.rs
+++ b/gen/ml1/src/lib.rs
@@ -1229,7 +1229,7 @@ pub struct GoogleCloudMlV1__TrainingInput {
///
/// The default value is zero.
#[serde(rename="workerCount")]
- pub worker_count: Option,
+ pub worker_count: Option,
/// Optional. The maximum job running time. The default is 7 days.
#[serde(rename="maxRunningTime")]
pub max_running_time: Option,
@@ -1242,7 +1242,7 @@ pub struct GoogleCloudMlV1__TrainingInput {
///
/// The default value is zero.
#[serde(rename="parameterServerCount")]
- pub parameter_server_count: Option,
+ pub parameter_server_count: Option,
/// Optional. Specifies the type of virtual machine to use for your training
/// job's worker nodes.
///
@@ -1521,10 +1521,10 @@ pub struct GoogleCloudMlV1__PredictionOutput {
pub output_path: Option,
/// The number of generated predictions.
#[serde(rename="predictionCount")]
- pub prediction_count: Option,
+ pub prediction_count: Option,
/// The number of data instances which resulted in errors.
#[serde(rename="errorCount")]
- pub error_count: Option,
+ pub error_count: Option,
}
impl Part for GoogleCloudMlV1__PredictionOutput {}
@@ -1539,7 +1539,7 @@ pub struct GoogleCloudMlV1__TrainingOutput {
/// The number of hyperparameter tuning trials that completed successfully.
/// Only set for hyperparameter tuning jobs.
#[serde(rename="completedTrialCount")]
- pub completed_trial_count: Option,
+ pub completed_trial_count: Option,
/// The amount of ML units consumed by the job.
#[serde(rename="consumedMLUnits")]
pub consumed_ml_units: Option,
@@ -1821,7 +1821,7 @@ pub struct GoogleCloudMlV1__PredictionInput {
/// Optional. The maximum number of workers to be used for parallel processing.
/// Defaults to 10 if not specified.
#[serde(rename="maxWorkerCount")]
- pub max_worker_count: Option,
+ pub max_worker_count: Option,
/// Required. The Cloud Storage location of the input data files. May contain
/// wildcards.
#[serde(rename="inputPaths")]
diff --git a/gen/monitoring3/src/lib.rs b/gen/monitoring3/src/lib.rs
index 126fbd98bd..820e2beca8 100644
--- a/gen/monitoring3/src/lib.rs
+++ b/gen/monitoring3/src/lib.rs
@@ -637,7 +637,7 @@ pub struct Distribution {
pub count: Option,
/// Required in the Stackdriver Monitoring API v3. The values for each bucket specified in bucket_options. The sum of the values in bucketCounts must equal the value in the count field of the Distribution object. The order of the bucket counts follows the numbering schemes described for the three bucket types. The underflow bucket has number 0; the finite buckets, if any, have numbers 1 through N-2; and the overflow bucket has number N-1. The size of bucket_counts must not be greater than N. If the size is less than N, then the remaining buckets are assigned values of zero.
#[serde(rename="bucketCounts")]
- pub bucket_counts: Option>,
+ pub bucket_counts: Option>,
/// The sum of squared deviations from the mean of the values in the population. For values x_i this is:
/// Sum[i=1..n]((x_i - mean)^2)
/// Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition describes Welford's method for accumulating this sum in one pass.If count is zero then this field must be zero.
diff --git a/gen/partners2/src/lib.rs b/gen/partners2/src/lib.rs
index f19ca201a5..116fbf6283 100644
--- a/gen/partners2/src/lib.rs
+++ b/gen/partners2/src/lib.rs
@@ -1034,7 +1034,7 @@ pub struct CountryOfferInfo {
pub spend_x_amount: Option,
/// Country code for which offer codes may be requested.
#[serde(rename="offerCountryCode")]
- pub offer_country_code: Option,
+ pub offer_country_code: Option,
/// Type of offer country is eligible for.
#[serde(rename="offerType")]
pub offer_type: Option,
@@ -1205,7 +1205,7 @@ pub struct UserProfile {
pub industries: Option>,
/// The user's primary country, an ISO 2-character code.
#[serde(rename="primaryCountryCode")]
- pub primary_country_code: Option,
+ pub primary_country_code: Option,
/// If the user has edit access to multiple accounts, the user can choose the
/// preferred account and it is used when a personal account is needed. Can
/// be empty.
@@ -1717,7 +1717,7 @@ pub struct CompanyRelation {
pub segment: Option>,
/// The primary country code of the company.
#[serde(rename="primaryCountryCode")]
- pub primary_country_code: Option,
+ pub primary_country_code: Option,
/// The name (in the company's primary language) for the company.
pub name: Option,
/// The ID of the company. There may be no id if this is a
@@ -1791,7 +1791,7 @@ pub struct HistoricalOffer {
pub offer_code: Option,
/// Country Code for the offer country.
#[serde(rename="offerCountryCode")]
- pub offer_country_code: Option,
+ pub offer_country_code: Option,
/// Client's AdWords page URL.
#[serde(rename="adwordsUrl")]
pub adwords_url: Option,
diff --git a/gen/photoslibrary1/src/lib.rs b/gen/photoslibrary1/src/lib.rs
index b4385f442a..a858bb6bd7 100644
--- a/gen/photoslibrary1/src/lib.rs
+++ b/gen/photoslibrary1/src/lib.rs
@@ -419,7 +419,7 @@ impl<'a, C, A> PhotosLibrary
pub struct Album {
/// [Output only] The number of media items in the album.
#[serde(rename="mediaItemsCount")]
- pub media_items_count: Option,
+ pub media_items_count: Option,
/// Name of the album displayed to the user in their Google Photos account.
/// This string shouldn't be more than 500 characters.
pub title: Option,
diff --git a/gen/proximitybeacon1_beta1/src/lib.rs b/gen/proximitybeacon1_beta1/src/lib.rs
index 573a11c64a..c88a2012a9 100644
--- a/gen/proximitybeacon1_beta1/src/lib.rs
+++ b/gen/proximitybeacon1_beta1/src/lib.rs
@@ -509,7 +509,7 @@ pub struct ListBeaconsResponse {
/// Estimate of the total number of beacons matched by the query. Higher
/// values may be less accurate.
#[serde(rename="totalCount")]
- pub total_count: Option,
+ pub total_count: Option,
}
impl ResponseResult for ListBeaconsResponse {}
diff --git a/gen/qpxexpress1/src/lib.rs b/gen/qpxexpress1/src/lib.rs
index bddbc18097..da832c1100 100644
--- a/gen/qpxexpress1/src/lib.rs
+++ b/gen/qpxexpress1/src/lib.rs
@@ -523,7 +523,7 @@ pub struct TripOptionsRequest {
pub passengers: Option,
/// IATA country code representing the point of ticketing.
#[serde(rename="ticketingCountry")]
- pub ticketing_country: Option,
+ pub ticketing_country: Option,
/// The slices that make up the itinerary of this trip. A slice represents a traveler's intent, the portion of a low-fare search corresponding to a traveler's request to get between two points. One-way journeys are generally expressed using one slice, round-trips using two. An example of a one slice trip with three segments might be BOS-SYD, SYD-LAX, LAX-BOS if the traveler only stopped in SYD and LAX just long enough to change planes.
pub slice: Option>,
/// The number of solutions to return, maximum 500.
@@ -532,7 +532,7 @@ pub struct TripOptionsRequest {
pub refundable: Option,
/// IATA country code representing the point of sale. This determines the "equivalent amount paid" currency for the ticket.
#[serde(rename="saleCountry")]
- pub sale_country: Option,
+ pub sale_country: Option,
/// Do not return solutions that cost more than this price. The alphabetical part of the price is in ISO 4217. The format, in regex, is [A-Z]{3}\d+(\.\d+)? Example: $102.07
#[serde(rename="maxPrice")]
pub max_price: Option,
diff --git a/gen/servicecontrol1/src/lib.rs b/gen/servicecontrol1/src/lib.rs
index db6fd486be..c04c5c90db 100644
--- a/gen/servicecontrol1/src/lib.rs
+++ b/gen/servicecontrol1/src/lib.rs
@@ -607,7 +607,7 @@ pub struct Distribution {
///
/// Any suffix of trailing zeros may be omitted.
#[serde(rename="bucketCounts")]
- pub bucket_counts: Option>,
+ pub bucket_counts: Option>,
/// Buckets with exponentially growing width.
#[serde(rename="exponentialBuckets")]
pub exponential_buckets: Option,
diff --git a/gen/spanner1/src/lib.rs b/gen/spanner1/src/lib.rs
index 871209ad02..a02394cc1b 100644
--- a/gen/spanner1/src/lib.rs
+++ b/gen/spanner1/src/lib.rs
@@ -1628,10 +1628,10 @@ pub struct ResultSetStats {
/// Partitioned DML does not offer exactly-once semantics, so it
/// returns a lower bound of the rows modified.
#[serde(rename="rowCountLowerBound")]
- pub row_count_lower_bound: Option,
+ pub row_count_lower_bound: Option,
/// Standard DML returns an exact count of rows that were modified.
#[serde(rename="rowCountExact")]
- pub row_count_exact: Option,
+ pub row_count_exact: Option,
/// QueryPlan for the query associated with this result.
#[serde(rename="queryPlan")]
pub query_plan: Option,
diff --git a/gen/storagetransfer1/src/lib.rs b/gen/storagetransfer1/src/lib.rs
index 8b72bd9ed7..04cd67c309 100644
--- a/gen/storagetransfer1/src/lib.rs
+++ b/gen/storagetransfer1/src/lib.rs
@@ -911,7 +911,7 @@ pub struct ErrorSummary {
pub error_log_entries: Option>,
/// Required. Count of this type of error.
#[serde(rename="errorCount")]
- pub error_count: Option,
+ pub error_count: Option,
}
impl Part for ErrorSummary {}
diff --git a/gen/tagmanager1/src/lib.rs b/gen/tagmanager1/src/lib.rs
index 0b9b662a03..039e28b9f7 100644
--- a/gen/tagmanager1/src/lib.rs
+++ b/gen/tagmanager1/src/lib.rs
@@ -556,7 +556,7 @@ pub struct Container {
pub enabled_built_in_variable: Option>,
/// Container Country ID.
#[serde(rename="timeZoneCountryId")]
- pub time_zone_country_id: Option,
+ pub time_zone_country_id: Option,
/// Container Public ID.
#[serde(rename="publicId")]
pub public_id: Option,
diff --git a/gen/vault1/src/lib.rs b/gen/vault1/src/lib.rs
index ed6500ff7d..775b5a58c3 100644
--- a/gen/vault1/src/lib.rs
+++ b/gen/vault1/src/lib.rs
@@ -727,10 +727,10 @@ pub struct ExportStats {
pub size_in_bytes: Option,
/// The number of documents already processed by the export.
#[serde(rename="exportedArtifactCount")]
- pub exported_artifact_count: Option,
+ pub exported_artifact_count: Option,
/// The number of documents to be exported.
#[serde(rename="totalArtifactCount")]
- pub total_artifact_count: Option,
+ pub total_artifact_count: Option,
}
impl Part for ExportStats {}
diff --git a/gen/youtube3/src/lib.rs b/gen/youtube3/src/lib.rs
index c83b912e9d..91aec1fc8c 100644
--- a/gen/youtube3/src/lib.rs
+++ b/gen/youtube3/src/lib.rs
@@ -2211,7 +2211,7 @@ pub struct LiveBroadcastStatistics {
pub concurrent_viewers: Option,
/// The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast.
#[serde(rename="totalChatCount")]
- pub total_chat_count: Option,
+ pub total_chat_count: Option,
}
impl Part for LiveBroadcastStatistics {}
@@ -3837,19 +3837,19 @@ impl Part for CommentSnippet {}
pub struct VideoStatistics {
/// The number of comments for the video.
#[serde(rename="commentCount")]
- pub comment_count: Option,
+ pub comment_count: Option,
/// The number of times the video has been viewed.
#[serde(rename="viewCount")]
- pub view_count: Option,
+ pub view_count: Option,
/// The number of users who currently have the video marked as a favorite video.
#[serde(rename="favoriteCount")]
- pub favorite_count: Option,
+ pub favorite_count: Option,
/// The number of users who have indicated that they disliked the video by giving it a negative rating.
#[serde(rename="dislikeCount")]
- pub dislike_count: Option,
+ pub dislike_count: Option,
/// The number of users who have indicated that they liked the video by giving it a positive rating.
#[serde(rename="likeCount")]
- pub like_count: Option,
+ pub like_count: Option,
}
impl Part for VideoStatistics {}
@@ -5078,19 +5078,19 @@ impl Part for LiveStreamConfigurationIssue {}
pub struct ChannelStatistics {
/// The number of comments for the channel.
#[serde(rename="commentCount")]
- pub comment_count: Option,
+ pub comment_count: Option,
/// The number of subscribers that the channel has.
#[serde(rename="subscriberCount")]
- pub subscriber_count: Option,
+ pub subscriber_count: Option,
/// The number of videos uploaded to the channel.
#[serde(rename="videoCount")]
- pub video_count: Option,
+ pub video_count: Option,
/// Whether or not the number of subscribers is shown for this user.
#[serde(rename="hiddenSubscriberCount")]
pub hidden_subscriber_count: Option,
/// The number of times the channel has been viewed.
#[serde(rename="viewCount")]
- pub view_count: Option,
+ pub view_count: Option,
}
impl Part for ChannelStatistics {}