rebuild all APIS

This commit is contained in:
Sebastian Thiel
2023-03-16 18:16:47 +01:00
parent 952ec161b8
commit a791dde0ce
3202 changed files with 103346 additions and 529276 deletions

View File

@@ -3,8 +3,6 @@
// DO NOT EDIT !
#![allow(unused_variables, unused_imports, dead_code, unused_mut)]
extern crate tokio;
#[macro_use]
extern crate clap;
@@ -12,9 +10,10 @@ use std::env;
use std::io::{self, Write};
use clap::{App, SubCommand, Arg};
use google_fcmdata1_beta1::{api, Error, oauth2};
use google_fcmdata1_beta1::{api, Error, oauth2, client::chrono, FieldMask};
mod client;
use google_clis_common as client;
use client::{InvalidOptionsError, CLIError, arg_from_str, writer_from_opts, parse_kv_arg,
input_file_from_opts, input_mime_from_opts, FieldCursor, FieldError, CallType, UploadProtocol,
@@ -61,7 +60,7 @@ where
call = call.page_token(value.unwrap_or(""));
},
"page-size" => {
call = call.page_size(arg_from_str(value.unwrap_or("-0"), err, "page-size", "integer"));
call = call.page_size( value.map(|v| arg_from_str(v, err, "page-size", "int32")).unwrap_or(-0));
},
_ => {
let mut found = false;
@@ -228,7 +227,7 @@ async fn main() {
let mut app = App::new("fcmdata1-beta1")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("4.0.1+20220305")
.version("5.0.2+20230123")
.about("Provides additional information about Firebase Cloud Messaging (FCM) message sends and deliveries.")
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_fcmdata1_beta1_cli")
.arg(Arg::with_name("url")