mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
regen all APIs and CLIs
This commit is contained in:
@@ -887,7 +887,13 @@ impl<'n> Engine<'n> {
|
||||
oauth2::InstalledFlowReturnMethod::HTTPRedirect,
|
||||
).persist_tokens_to_disk(format!("{}/policysimulator1", config_dir)).build().await.unwrap();
|
||||
|
||||
let client = hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots());
|
||||
let client = hyper::Client::builder().build(
|
||||
hyper_rustls::HttpsConnectorBuilder::new().with_native_roots()
|
||||
.https_or_http()
|
||||
.enable_http1()
|
||||
.enable_http2()
|
||||
.build()
|
||||
);
|
||||
let engine = Engine {
|
||||
opt: opt,
|
||||
hub: api::PolicySimulator::new(client, auth),
|
||||
@@ -1192,7 +1198,7 @@ async fn main() {
|
||||
|
||||
let mut app = App::new("policysimulator1")
|
||||
.author("Sebastian Thiel <byronimo@gmail.com>")
|
||||
.version("3.0.0+20220227")
|
||||
.version("3.1.0+20220227")
|
||||
.about(" Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.")
|
||||
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_policysimulator1_cli")
|
||||
.arg(Arg::with_name("url")
|
||||
|
||||
Reference in New Issue
Block a user