mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
regen all APIs
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[package]
|
||||
|
||||
name = "google-smartdevicemanagement1-cli"
|
||||
version = "5.0.3+20230112"
|
||||
version = "5.0.3+20240218"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with Smart Device Management (protocol v1)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/smartdevicemanagement1-cli"
|
||||
@@ -38,5 +38,5 @@ tower-service = "^0.3.1"
|
||||
|
||||
[dependencies.google-smartdevicemanagement1]
|
||||
path = "../smartdevicemanagement1"
|
||||
version = "5.0.3+20230112"
|
||||
version = "5.0.3+20240218"
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma
|
||||
|
||||
# Usage
|
||||
|
||||
This documentation was generated from the *Smart Device Management* API at revision *20230112*. The CLI is at version *5.0.3*.
|
||||
This documentation was generated from the *Smart Device Management* API at revision *20240218*. The CLI is at version *5.0.3*.
|
||||
|
||||
```bash
|
||||
smartdevicemanagement1 [options]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
site_name: Smart Device Management v5.0.3+20230112
|
||||
site_name: Smart Device Management v5.0.3+20240218
|
||||
site_url: http://byron.github.io/google-apis-rs/google-smartdevicemanagement1-cli
|
||||
site_description: A complete library to interact with Smart Device Management (protocol v1)
|
||||
|
||||
|
||||
@@ -193,12 +193,6 @@ where
|
||||
for parg in opt.values_of("v").map(|i|i.collect()).unwrap_or(Vec::new()).iter() {
|
||||
let (key, value) = parse_kv_arg(&*parg, err, false);
|
||||
match key {
|
||||
"page-token" => {
|
||||
call = call.page_token(value.unwrap_or(""));
|
||||
},
|
||||
"page-size" => {
|
||||
call = call.page_size( value.map(|v| arg_from_str(v, err, "page-size", "int32")).unwrap_or(-0));
|
||||
},
|
||||
"filter" => {
|
||||
call = call.filter(value.unwrap_or(""));
|
||||
},
|
||||
@@ -215,7 +209,7 @@ where
|
||||
err.issues.push(CLIError::UnknownParameter(key.to_string(),
|
||||
{let mut v = Vec::new();
|
||||
v.extend(self.gp.iter().map(|v|*v));
|
||||
v.extend(["filter", "page-size", "page-token"].iter().map(|v|*v));
|
||||
v.extend(["filter"].iter().map(|v|*v));
|
||||
v } ));
|
||||
}
|
||||
}
|
||||
@@ -307,12 +301,6 @@ where
|
||||
for parg in opt.values_of("v").map(|i|i.collect()).unwrap_or(Vec::new()).iter() {
|
||||
let (key, value) = parse_kv_arg(&*parg, err, false);
|
||||
match key {
|
||||
"page-token" => {
|
||||
call = call.page_token(value.unwrap_or(""));
|
||||
},
|
||||
"page-size" => {
|
||||
call = call.page_size( value.map(|v| arg_from_str(v, err, "page-size", "int32")).unwrap_or(-0));
|
||||
},
|
||||
"filter" => {
|
||||
call = call.filter(value.unwrap_or(""));
|
||||
},
|
||||
@@ -329,7 +317,7 @@ where
|
||||
err.issues.push(CLIError::UnknownParameter(key.to_string(),
|
||||
{let mut v = Vec::new();
|
||||
v.extend(self.gp.iter().map(|v|*v));
|
||||
v.extend(["filter", "page-size", "page-token"].iter().map(|v|*v));
|
||||
v.extend(["filter"].iter().map(|v|*v));
|
||||
v } ));
|
||||
}
|
||||
}
|
||||
@@ -421,12 +409,6 @@ where
|
||||
for parg in opt.values_of("v").map(|i|i.collect()).unwrap_or(Vec::new()).iter() {
|
||||
let (key, value) = parse_kv_arg(&*parg, err, false);
|
||||
match key {
|
||||
"page-token" => {
|
||||
call = call.page_token(value.unwrap_or(""));
|
||||
},
|
||||
"page-size" => {
|
||||
call = call.page_size( value.map(|v| arg_from_str(v, err, "page-size", "int32")).unwrap_or(-0));
|
||||
},
|
||||
_ => {
|
||||
let mut found = false;
|
||||
for param in &self.gp {
|
||||
@@ -440,7 +422,6 @@ where
|
||||
err.issues.push(CLIError::UnknownParameter(key.to_string(),
|
||||
{let mut v = Vec::new();
|
||||
v.extend(self.gp.iter().map(|v|*v));
|
||||
v.extend(["page-size", "page-token"].iter().map(|v|*v));
|
||||
v } ));
|
||||
}
|
||||
}
|
||||
@@ -748,7 +729,7 @@ async fn main() {
|
||||
|
||||
let mut app = App::new("smartdevicemanagement1")
|
||||
.author("Sebastian Thiel <byronimo@gmail.com>")
|
||||
.version("5.0.3+20230112")
|
||||
.version("5.0.3+20240218")
|
||||
.about("Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically.")
|
||||
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_smartdevicemanagement1_cli")
|
||||
.arg(Arg::with_name("url")
|
||||
|
||||
Reference in New Issue
Block a user